Skip to content

Commit

Permalink
Merge branch 'MDL-26260' of git://github.com/timhunt/moodle
Browse files Browse the repository at this point in the history
  • Loading branch information
Aparup Banerjee committed Jan 30, 2012
2 parents 627618e + 71ece27 commit 1fac035
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions mod/quiz/module.js
Expand Up @@ -186,11 +186,11 @@ M.mod_quiz.secure_window = {
if (window.location.href.substring(0, 4) == 'file') {
window.location = 'about:blank';
}
Y.delegate('contextmenu', M.mod_quiz.secure_window.prevent, document.body, '*');
Y.delegate('mousedown', M.mod_quiz.secure_window.prevent_mouse, document.body, '*');
Y.delegate('mouseup', M.mod_quiz.secure_window.prevent_mouse, document.body, '*');
Y.delegate('dragstart', M.mod_quiz.secure_window.prevent, document.body, '*');
Y.delegate('selectstart', M.mod_quiz.secure_window.prevent, document.body, '*');
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('selectstart', 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');
Expand Down

0 comments on commit 1fac035

Please sign in to comment.