mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
BUG Insert Media, inserts all previous media (fixes #7545)
This commit is contained in:
parent
aa72425e84
commit
4310718b94
@ -805,6 +805,7 @@ ss.editorWrappers['default'] = ss.editorWrappers.tinyMCE;
|
||||
resetFields: function() {
|
||||
this.find('.ss-htmleditorfield-file').remove(); // Remove any existing views
|
||||
this.find('.ss-gridfield-items .ui-selected').removeClass('ui-selected'); // Unselect all items
|
||||
this.find('li.ss-uploadfield-item').remove(); // Remove all selected items
|
||||
this.redraw();
|
||||
|
||||
this._super();
|
||||
|
Loading…
x
Reference in New Issue
Block a user