From 2a667a082048e343c629b4e9242b8bd6bd6e01a0 Mon Sep 17 00:00:00 2001 From: Mark Nelson Date: Thu, 18 May 2017 16:49:01 +0800 Subject: [PATCH] MDL-58986 mod_quiz: add CSS classes to buttons on comment page --- mod/quiz/comment.php | 2 +- mod/quiz/module.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mod/quiz/comment.php b/mod/quiz/comment.php index 08942de22db..cfcebb2d66e 100644 --- a/mod/quiz/comment.php +++ b/mod/quiz/comment.php @@ -122,7 +122,7 @@ echo $attemptobj->render_question_for_commenting($slot);
-
diff --git a/mod/quiz/module.js b/mod/quiz/module.js index b613c13982a..46f5ab8b98f 100644 --- a/mod/quiz/module.js +++ b/mod/quiz/module.js @@ -37,7 +37,7 @@ M.mod_quiz.init_review_form = function(Y) { M.mod_quiz.init_comment_popup = function(Y) { // Add a close button to the window. - var closebutton = Y.Node.create(''); + var closebutton = Y.Node.create(''); closebutton.set('value', M.util.get_string('cancel', 'moodle')); Y.one('#id_submitbutton').ancestor().append(closebutton); Y.on('click', function() { window.close() }, closebutton);