diff --git a/javascript/HtmlEditorField.js b/javascript/HtmlEditorField.js index f41046611..c5e2d56fd 100644 --- a/javascript/HtmlEditorField.js +++ b/javascript/HtmlEditorField.js @@ -295,7 +295,6 @@ ss.editorWrappers['default'] = ss.editorWrappers.tinyMCE; url: url, success: function(html) { dialog.html(html); - dialog.getForm().redraw(); } }); } @@ -356,6 +355,8 @@ ss.editorWrappers['default'] = ss.editorWrappers.tinyMCE; this.setEditor(ss.editorWrappers['default']()); this._super(); + + this.redraw(); }, redraw: function() { },