FIX gridfield delete alert selector specificity

This commit is contained in:
colymba 2013-10-07 14:24:16 +03:00
parent 4f428497dd
commit 75f2b17f30

View File

@ -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();