mirror of
https://github.com/moodle/moodle.git
synced 2025-08-07 09:56:38 +02:00
Merge branch 'MDL-47943-master' of https://github.com/dthies/moodle
This commit is contained in:
commit
415fc3d2f9
4 changed files with 4 additions and 4 deletions
|
@ -1504,7 +1504,7 @@ EditorSelection.prototype = {
|
||||||
this.updateOriginal();
|
this.updateOriginal();
|
||||||
}, this);
|
}, this);
|
||||||
|
|
||||||
Y.delegate(['keyup', 'focus'], function(e) {
|
Y.delegate(['keyup', 'focus', 'mouseleave'], function(e) {
|
||||||
Y.soon(Y.bind(this._hasSelectionChanged, this, e));
|
Y.soon(Y.bind(this._hasSelectionChanged, this, e));
|
||||||
}, document.body, '#' + this.editor.get('id'), this);
|
}, document.body, '#' + this.editor.get('id'), this);
|
||||||
|
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -1492,7 +1492,7 @@ EditorSelection.prototype = {
|
||||||
this.updateOriginal();
|
this.updateOriginal();
|
||||||
}, this);
|
}, this);
|
||||||
|
|
||||||
Y.delegate(['keyup', 'focus'], function(e) {
|
Y.delegate(['keyup', 'focus', 'mouseleave'], function(e) {
|
||||||
Y.soon(Y.bind(this._hasSelectionChanged, this, e));
|
Y.soon(Y.bind(this._hasSelectionChanged, this, e));
|
||||||
}, document.body, '#' + this.editor.get('id'), this);
|
}, document.body, '#' + this.editor.get('id'), this);
|
||||||
|
|
||||||
|
|
|
@ -90,7 +90,7 @@ EditorSelection.prototype = {
|
||||||
this.updateOriginal();
|
this.updateOriginal();
|
||||||
}, this);
|
}, this);
|
||||||
|
|
||||||
Y.delegate(['keyup', 'focus'], function(e) {
|
Y.delegate(['keyup', 'focus', 'mouseleave'], function(e) {
|
||||||
Y.soon(Y.bind(this._hasSelectionChanged, this, e));
|
Y.soon(Y.bind(this._hasSelectionChanged, this, e));
|
||||||
}, document.body, '#' + this.editor.get('id'), this);
|
}, document.body, '#' + this.editor.get('id'), this);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue