"http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <link rel="stylesheet" href="../qunit/qunit.css" type="text/css"/> </head> <body> <h1 id="qunit-header">VAF - MMY (disabled options)</h1> <h2 id="qunit-banner"></h2> <h2 id="qunit-userAgent"></h2> <ol id="qunit-tests"> </ol> <?php include('../search.include.php'); $search = new Elite_Vaf_Block_Search_AjaxTestSub(); $search->getConfig()->search->unavailableSelections = 'disable'; $search->toHtml(); ?> <script type="text/javascript" src="../qunit/qunit.js"></script> <script type="text/javascript" src="../common.js"></script> <script type="text/javascript"> jQuery(document).ready(function(){ QUnit.done = function (failures, total) { top.testPageComplete( 'ajaxTestJs/MMYdisabled.php', failures, total ); }; test("Make should be enabled by default", function() { expect(1); equals( undefined, jQuery( '.makeSelect').attr('disabled') );
"http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <link rel="stylesheet" href="../qunit/qunit.css" type="text/css"/> </head> <body> <h1 id="qunit-header">VAF - MMY</h1> <h2 id="qunit-banner"></h2> <h2 id="qunit-userAgent"></h2> <ol id="qunit-tests"> </ol> <?php include '../search.include.php'; $search = new Elite_Vaf_Block_Search_AjaxTestSub(); $search->getConfig()->search->loadingStrategy = 'offline'; $search->toHtml(); ?> <script type="text/javascript" src="../qunit/qunit.js"></script> <script type="text/javascript" src="../common.js"></script> <script type="text/javascript"> jQuery(document).ready(function(){ QUnit.done = function (failures, total) { top.testPageComplete( 'ajaxTestJs/MMYNonAjax.php', failures, total ); }; module("Loading Levels"); test("Clicking Make Should Load Models", function() {