mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-09-29 12:49:06 +02:00
Add new files in "Insert Media" at start of the list
Makes the change more obvious without requiring to scroll to action origin (upload button) out of view
This commit is contained in:
parent
ea4f8cec07
commit
23c0084193
@ -865,7 +865,7 @@ ss.editorWrappers['default'] = ss.editorWrappers.tinyMCE;
|
||||
var self = this, params = (Number(idOrUrl) == idOrUrl) ? {ID: idOrUrl} : {FileURL: idOrUrl};
|
||||
|
||||
var item = $('<div class="ss-htmleditorfield-file loading" />');
|
||||
this.find('.content-edit').append(item);
|
||||
this.find('.content-edit').prepend(item);
|
||||
|
||||
var dfr = $.Deferred();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user