We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9163f38 + ead7fdc commit d423715Copy full SHA for d423715
frontend/src/core/views/originView.js
@@ -84,10 +84,10 @@ define(function(require){
84
if (this.form) {
85
// remove ckeditor instances
86
this.form.$( "textarea" ).each(function () {
87
- var editor = CKEDITOR.instances[this.id];
88
try {
+ var editor = CKEDITOR.instances[this.id];
89
// check editor is still in the dom (otherwise throws exception)
90
- if (editor && editor.window.getFrame()) {
+ if (editor.window.getFrame()) {
91
editor.destroy(true);
92
}
93
} catch (e) {
0 commit comments