Merge branch 'MDL-83989-404' of https://github.com/clransom/moodle into MOODLE_404_STABLE

This commit is contained in:
Jun Pataleta
2025-01-24 15:52:34 +08:00
+4 -1
View File
@@ -176,10 +176,13 @@ M.form_dndupload.init = function(Y, options) {
init_page_events: function() {
this.Y.on('dragenter', this.drag_enter_page, 'body', this);
this.Y.on('dragleave', this.drag_leave_page, 'body', this);
this.Y.on('dragover', function(e) {
e.preventDefault();
}, 'body', this);
this.Y.on('drop', function() {
this.pageentercount = 0;
this.hide_drop_target();
}.bind(this));
}, 'body', this);
},
/**