Permalink
Browse files

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

…OODLE_22_STABLE
  • Loading branch information...
2 parents d1ced7c + 78e010e commit c7fc98256a114f2c44dc6f74456009831670478a @nebgor nebgor committed May 31, 2012
Showing with 6 additions and 3 deletions.
  1. +6 −3 mod/quiz/module.js
View
@@ -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 c7fc982

Please sign in to comment.