mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
Merge pull request #913 from kinglozzer/assetadmin-delete-confirmation
FIX: Prevent AssetAdmin duplicate confirmation for file deletion (fixes silverstripe/silverstripe-framework#2639)
This commit is contained in:
commit
c4cd203ab7
@ -48,7 +48,7 @@
|
||||
}
|
||||
});
|
||||
|
||||
$('.AssetAdmin.cms-edit-form .action.gridfield-button-delete').entwine({
|
||||
$('.AssetAdmin.cms-edit-form .ss-gridfield .col-buttons .action.gridfield-button-delete, .AssetAdmin.cms-edit-form .Actions button.action.action-delete').entwine({
|
||||
onclick: function(e) {
|
||||
var msg;
|
||||
if(this.closest('.ss-gridfield-item').data('class') == 'Folder') {
|
||||
|
Loading…
Reference in New Issue
Block a user