Permalink
Browse files

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

…OODLE_20_STABLE
  • Loading branch information...
2 parents a287c32 + f7e0242 commit 2b19ed89450c9ce09b67d22b93712c1d2fd0e8e2 @nebgor nebgor committed Jan 30, 2012
Showing with 5 additions and 5 deletions.
  1. +5 −5 mod/quiz/module.js
View
10 mod/quiz/module.js
@@ -168,11 +168,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');

0 comments on commit 2b19ed8

Please sign in to comment.