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 ?>