From dca29e98dc8aacd8523b444253d001b3a51b81d2 Mon Sep 17 00:00:00 2001 From: pichetp Date: Tue, 5 Jun 2007 15:28:03 +0000 Subject: [PATCH] eliminate this nasty JavaScript that prints the button. --- mod/quiz/view.php | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) 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"; -- 2.39.5