Merge branch 'MDL-41513_Scrollbar_not_working' of https://github.com/MorrisR2/moodle

This commit is contained in:
Damyon Wiese 2014-08-19 14:11:43 +08:00
commit c97bb5df16

View File

@ -219,8 +219,8 @@ 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('mousedown', M.mod_quiz.secure_window.prevent_mouse, 'body', '*');
Y.delegate('mouseup', M.mod_quiz.secure_window.prevent_mouse, 'body', '*');
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, '*');