Navigation Menu

Skip to content

Commit

Permalink
Merge branch 'MDL-26260_21' of git://github.com/timhunt/moodle into M…
Browse files Browse the repository at this point in the history
…OODLE_21_STABLE
  • Loading branch information
Aparup Banerjee committed Jan 30, 2012
2 parents b69e249 + fa19909 commit 8cbc394
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') { if (window.location.href.substring(0, 4) == 'file') {
window.location = 'about:blank'; window.location = 'about:blank';
} }
Y.delegate('contextmenu', 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.body, '*'); Y.delegate('mousedown', M.mod_quiz.secure_window.prevent_mouse, document, '*');
Y.delegate('mouseup', M.mod_quiz.secure_window.prevent_mouse, document.body, '*'); Y.delegate('mouseup', M.mod_quiz.secure_window.prevent_mouse, document, '*');
Y.delegate('dragstart', M.mod_quiz.secure_window.prevent, document.body, '*'); Y.delegate('dragstart', M.mod_quiz.secure_window.prevent, document, '*');
Y.delegate('selectstart', M.mod_quiz.secure_window.prevent, document.body, '*'); Y.delegate('selectstart', M.mod_quiz.secure_window.prevent, document, '*');
M.mod_quiz.secure_window.clear_status; M.mod_quiz.secure_window.clear_status;
Y.on('beforeprint', function() { Y.on('beforeprint', function() {
Y.one(document.body).setStyle('display', 'none'); Y.one(document.body).setStyle('display', 'none');
Expand Down

0 comments on commit 8cbc394

Please sign in to comment.