Merge pull request #2502 from colymba/fix-gridfield-delete-alert

FIX gridfield delete alert selector specificity
This commit is contained in:
Ingo Schommer 2013-10-09 01:54:39 -07:00
commit 55c6f35e15

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