From a282ef514e0f5fbc8453c7b89f31b76095465acf Mon Sep 17 00:00:00 2001 From: tjhunt Date: Wed, 3 Sep 2008 05:37:46 +0000 Subject: [PATCH] MDL-16263 Flagging questions during a quiz attempt. IE cannot cope with an object initialiser with a trailing comma, so change how thise JS is output. --- lib/questionlib.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/lib/questionlib.php b/lib/questionlib.php index e304dbb77f..060cdb5b52 100644 --- a/lib/questionlib.php +++ b/lib/questionlib.php @@ -1839,11 +1839,13 @@ function question_init_qenginejs_script() { ); // Then generate the script tag. - $script = '\n"; + $script = '\n"; return $script; } -- 2.39.5