From: pichetp Date: Tue, 5 Jun 2007 15:28:03 +0000 (+0000) Subject: eliminate this nasty JavaScript that prints the button. X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=dca29e98dc8aacd8523b444253d001b3a51b81d2;p=moodle.git eliminate this nasty JavaScript that prints the button. --- diff --git a/mod/quiz/view.php b/mod/quiz/view.php index a59f9f2531..778208d05d 100644 --- a/mod/quiz/view.php +++ b/mod/quiz/view.php @@ -382,24 +382,20 @@ if (!empty($CFG->usesid) && !isset($_COOKIE[session_name()])) { $attempturl = sid_process_url($attempturl); } - - // TODO eliminate this nasty JavaScript that prints the button. -?> - + } + echo " window.open('$attempturl','$window','$windowoptions'); ".' " />'; + +?> -\n";