fix(mail(js)): avoid updating the DOM before closing editor
When destroying the CKEditor instance (closing the mail editor in HTML mode), we no longer try to update the associated textarea because we're removing it anyway.pull/284/merge
parent
716d739b85
commit
bed91ce95a
|
@ -319,8 +319,9 @@
|
|||
}
|
||||
|
||||
this.$onDestroy = function () {
|
||||
var noUpdate = true;
|
||||
editorElement.classList.add('ng-cloak');
|
||||
editor.destroy();
|
||||
editor.destroy(noUpdate);
|
||||
}
|
||||
|
||||
function onInstanceReady (event) {
|
||||
|
|
Loading…
Reference in New Issue