Skip to content
Browse files

Merge branch 'MDL-33140_21' of git://github.com/timhunt/moodle into M…

…OODLE_21_STABLE
  • Loading branch information...
2 parents 854682f + c0ed22f commit 3a2d36354281a76398aaad0e11d65a5c6e8e74d8 @nebgor nebgor committed May 31, 2012
Showing with 6 additions and 3 deletions.
  1. +6 −3 mod/quiz/module.js
View
9 mod/quiz/module.js
@@ -208,10 +208,13 @@ M.mod_quiz.secure_window = {
window.location = 'about:blank';
}
Y.delegate('contextmenu', M.mod_quiz.secure_window.prevent, document, '*');
- Y.delegate('mousedown', M.mod_quiz.secure_window.prevent_mouse, document, '*');
- Y.delegate('mouseup', M.mod_quiz.secure_window.prevent_mouse, document, '*');
- Y.delegate('dragstart', M.mod_quiz.secure_window.prevent, document, '*');
+ Y.delegate('mousedown', M.mod_quiz.secure_window.prevent_mouse, document, '*');
+ Y.delegate('mouseup', M.mod_quiz.secure_window.prevent_mouse, document, '*');
+ Y.delegate('dragstart', M.mod_quiz.secure_window.prevent, document, '*');
Y.delegate('selectstart', M.mod_quiz.secure_window.prevent, document, '*');
+ Y.delegate('cut', M.mod_quiz.secure_window.prevent, document, '*');
+ Y.delegate('copy', M.mod_quiz.secure_window.prevent, document, '*');
+ Y.delegate('paste', M.mod_quiz.secure_window.prevent, document, '*');
M.mod_quiz.secure_window.clear_status;
Y.on('beforeprint', function() {
Y.one(document.body).setStyle('display', 'none');

0 comments on commit 3a2d363

Please sign in to comment.
Something went wrong with that request. Please try again.