mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
FIX: Prevent AssetAdmin duplicate confirmation for file deletion (fixes silverstripe/silverstripe-framework#2639)
This commit is contained in:
parent
288303c43c
commit
0a0ea33f58
@ -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