Permalink
Browse files

FIX gridfield delete alert selector specificity

  • Loading branch information...
colymba committed Oct 7, 2013
1 parent 4f42849 commit 75f2b17f30f2ee8ec360d11a9be38eb097a7b66c
Showing with 1 addition and 1 deletion.
  1. +1 −1 javascript/GridField.js
View
@@ -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();

0 comments on commit 75f2b17

Please sign in to comment.