MDL-45682 editor_atto: Ensure that the current editor is active when saving selections

This commit is contained in:
Andrew Nicols
2014-05-26 11:24:11 +01:00
committed by Dan Poltawski
parent e77b4ac0de
commit fd4c7d7b69
4 changed files with 11 additions and 5 deletions
@@ -1056,7 +1056,9 @@ EditorSelection.prototype = {
* @method saveSelection
*/
saveSelection: function() {
this._selections = this.getSelection();
if (this.isActive()) {
this._selections = this.getSelection();
}
},
/**
File diff suppressed because one or more lines are too long
@@ -1051,7 +1051,9 @@ EditorSelection.prototype = {
* @method saveSelection
*/
saveSelection: function() {
this._selections = this.getSelection();
if (this.isActive()) {
this._selections = this.getSelection();
}
},
/**
+3 -1
View File
@@ -153,7 +153,9 @@ EditorSelection.prototype = {
* @method saveSelection
*/
saveSelection: function() {
this._selections = this.getSelection();
if (this.isActive()) {
this._selections = this.getSelection();
}
},
/**