Skip to content

Commit

Permalink
Fix issue with Koha 24.05 not stopping for some hold dialogs
Browse files Browse the repository at this point in the history
If an item is checked out to a patron and also on hold, the plugin would
not pause for that hold dialog. This commit corrects that issue.
  • Loading branch information
kylemhall committed Sep 16, 2024
1 parent 7ed3ee4 commit 8592f98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Koha/Plugin/Com/ByWaterSolutions/RFID/static_files/rfid.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ function handle_one_at_a_time(
continue_processing = true;
initiate_rfid_scanning();
});
} else if ($("div.dialog.alert").length && !continue_processing) {
} else if ( ( $("div.dialog.alert").length || $("#hold-found1").length || $("#hold-found2").length ) && !continue_processing) {
if (action != "renew") {
console.log("NEEDS ALERT CONFIRMATION");
const message = $("div.dialog.alert");
Expand Down

0 comments on commit 8592f98

Please sign in to comment.