diff --git a/javascript/GridField.js b/javascript/GridField.js index 9574a094b..746f6fbf6 100644 --- a/javascript/GridField.js +++ b/javascript/GridField.js @@ -136,7 +136,7 @@ }); // Covers both tabular delete button, and the button on the detail form - $('.ss-gridfield .Actions .action.gridfield-button-delete, .cms-edit-form .Actions button.action.action-delete').entwine({ + $('.ss-gridfield .col-buttons .action.gridfield-button-delete, .cms-edit-form .Actions button.action.action-delete').entwine({ onclick: function(e){ if(!confirm(ss.i18n._t('TABLEFIELD.DELETECONFIRMMESSAGE'))) { e.preventDefault();