Merge branch 'MDL-52550-master' of git://github.com/cameron1729/moodle
This commit is contained in:
Vendored
+4
@@ -219,6 +219,10 @@ Y.namespace('M.atto_image').Button = Y.Base.create('button', Y.M.editor_atto.Edi
|
||||
this.editor.delegate('dblclick', this._displayDialogue, 'img', this);
|
||||
this.editor.delegate('click', this._handleClick, 'img', this);
|
||||
this.editor.on('drop', this._handleDragDrop, this);
|
||||
|
||||
// e.preventDefault needed to stop the default event from clobbering the desired behaviour in some browsers.
|
||||
this.editor.on('dragover', function(e){e.preventDefault();}, this);
|
||||
this.editor.on('dragenter', function(e){e.preventDefault();}, this);
|
||||
},
|
||||
|
||||
/**
|
||||
|
||||
Vendored
+3
-3
File diff suppressed because one or more lines are too long
Vendored
+4
@@ -219,6 +219,10 @@ Y.namespace('M.atto_image').Button = Y.Base.create('button', Y.M.editor_atto.Edi
|
||||
this.editor.delegate('dblclick', this._displayDialogue, 'img', this);
|
||||
this.editor.delegate('click', this._handleClick, 'img', this);
|
||||
this.editor.on('drop', this._handleDragDrop, this);
|
||||
|
||||
// e.preventDefault needed to stop the default event from clobbering the desired behaviour in some browsers.
|
||||
this.editor.on('dragover', function(e){e.preventDefault();}, this);
|
||||
this.editor.on('dragenter', function(e){e.preventDefault();}, this);
|
||||
},
|
||||
|
||||
/**
|
||||
|
||||
@@ -217,6 +217,10 @@ Y.namespace('M.atto_image').Button = Y.Base.create('button', Y.M.editor_atto.Edi
|
||||
this.editor.delegate('dblclick', this._displayDialogue, 'img', this);
|
||||
this.editor.delegate('click', this._handleClick, 'img', this);
|
||||
this.editor.on('drop', this._handleDragDrop, this);
|
||||
|
||||
// e.preventDefault needed to stop the default event from clobbering the desired behaviour in some browsers.
|
||||
this.editor.on('dragover', function(e){e.preventDefault();}, this);
|
||||
this.editor.on('dragenter', function(e){e.preventDefault();}, this);
|
||||
},
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user