mirror of
https://github.com/moodle/moodle.git
synced 2025-08-07 09:56:38 +02:00
MDL-49782 general: removed uses of window.status
This commit is contained in:
parent
1d3fd63f97
commit
8b3a10438f
4 changed files with 3 additions and 12 deletions
|
@ -226,7 +226,6 @@ M.mod_quiz.secure_window = {
|
|||
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');
|
||||
}, window);
|
||||
|
@ -241,11 +240,6 @@ M.mod_quiz.secure_window = {
|
|||
Y.on('key', M.mod_quiz.secure_window.prevent, '*', 'down:67,86,88+meta');
|
||||
},
|
||||
|
||||
clear_status: function() {
|
||||
window.status = '';
|
||||
setTimeout(M.mod_quiz.secure_window.clear_status, 10);
|
||||
},
|
||||
|
||||
is_content_editable: function(n) {
|
||||
if (n.test('[contenteditable=true]')) {
|
||||
return true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue