diff --git a/application/asset/js/global.js b/application/asset/js/global.js index 92e17ef87c..9c2069488a 100644 --- a/application/asset/js/global.js +++ b/application/asset/js/global.js @@ -188,7 +188,7 @@ var Omeka = { }, manageSelectedActions: function() { - var selectedOptions = $('[value="update-selected"], [value="delete-selected"]'); + var selectedOptions = $('#batch-form .batch-inputs [data-select=selected]'); if ($('.batch-edit td input[type="checkbox"]:checked').length > 0) { selectedOptions.removeAttr('disabled'); } else { diff --git a/application/view/omeka/admin/item-set/browse.phtml b/application/view/omeka/admin/item-set/browse.phtml index 16364fa13c..9448baaabc 100644 --- a/application/view/omeka/admin/item-set/browse.phtml +++ b/application/view/omeka/admin/item-set/browse.phtml @@ -50,22 +50,22 @@ $userIsAllowedBatchDelete = $this->userIsAllowed('Omeka\Api\Adapter\ItemSetAdapt ?>
- - - + + - - + +
- - + + diff --git a/application/view/omeka/admin/item/browse.phtml b/application/view/omeka/admin/item/browse.phtml index bd6040e24a..e764d792bc 100644 --- a/application/view/omeka/admin/item/browse.phtml +++ b/application/view/omeka/admin/item/browse.phtml @@ -50,22 +50,22 @@ $userIsAllowedBatchDelete = $this->userIsAllowed('Omeka\Api\Adapter\ItemAdapter' ?>
- - - + + - - + +
- - + + diff --git a/application/view/omeka/admin/media/browse.phtml b/application/view/omeka/admin/media/browse.phtml index 5367ecaf3c..57d4bd136f 100644 --- a/application/view/omeka/admin/media/browse.phtml +++ b/application/view/omeka/admin/media/browse.phtml @@ -48,22 +48,22 @@ $userIsAllowedBatchDelete = $this->userIsAllowed('Omeka\Api\Adapter\MediaAdapter ?>
- - - + + - - + +
- - + +