Changes to bulk actions, passing full ID arrays instead of chunked image arrays

Changed the bulk actions to have a separate identifier from the button name
This commit is contained in:
Matthew Barbour
2019-06-12 17:44:25 -05:00
parent 97f60b3ea5
commit b27904a7e0
6 changed files with 184 additions and 105 deletions

View File

@ -25,7 +25,7 @@ function validate_selections(form, confirmationMessage) {
if(confirmationMessage!=null&&confirmationMessage!="") {
return confirm(confirmationMessage);
} else if(queryOnly) {
var action = $(form).find('input[name="bulk_action"]').val();
var action = $(form).find('input[name="submit_button"]').val();
return confirm("Perform bulk action \"" + action + "\" on all images matching the current search?");
}