mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
MINOR Fixed async entwine redraw calls in HtmlEditorField.js (regression from fdebedd1)
This commit is contained in:
parent
7ab47b6493
commit
0cbb1b11e3
@ -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() {
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user