From: tjhunt Date: Wed, 3 Sep 2008 05:50:05 +0000 (+0000) Subject: MDL-15452 Improved quiz navigation. The quiz now no longer requires JavaScript, unles... X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=964f488be3862a2c52d9b2e74c766a52581087ad;p=moodle.git MDL-15452 Improved quiz navigation. The quiz now no longer requires JavaScript, unless secure mode is used. --- diff --git a/mod/quiz/accessrules.php b/mod/quiz/accessrules.php index 1c56485340..2941a00942 100644 --- a/mod/quiz/accessrules.php +++ b/mod/quiz/accessrules.php @@ -184,8 +184,7 @@ class quiz_access_manager { /** * Print a button to start a quiz attempt, with an appropriate javascript warning, * depending on the access restrictions. The link will pop up a 'secure' window, if - * necessary. The button will initially be hidden, with JavaScript to reveal it, and - * a noscript tag saying that the quiz requires JavaScript. + * necessary. * * @param boolean $canpreview whether this user can preview. This affects whether they must * use a secure window. @@ -202,9 +201,7 @@ class quiz_access_manager { } /// Show the start button, in a div that is initially hidden. - require_js('yui_yahoo'); - require_js('yui_event'); - echo '