@@ -, +, @@ confirmation: a) Place an item-level hold on a title. b) Check in the item and confirm the hold. c) Return to the place hold screen for that title and submit another patron to place a hold for. d) On the place hold screen for that patron, look at the table of items. There should be a "cancel hold" link next to the item for which the hold was confirmed in step (b). e) Click "cancel hold." You should see a confirmation message. Cancelling this dialog should cancel the operation. Confirming it should cancel the hold. xx-YY) --- koha-tmpl/intranet-tmpl/prog/en/js/staff-global.js | 6 +++++- koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt | 3 ++- 2 files changed, 7 insertions(+), 2 deletions(-) --- a/koha-tmpl/intranet-tmpl/prog/en/js/staff-global.js +++ a/koha-tmpl/intranet-tmpl/prog/en/js/staff-global.js @@ -91,4 +91,8 @@ function toUC(f) { var x=f.value.toUpperCase(); f.value=x; return true; -} +} + +function confirmDelete(message) { + return (confirm(message) ? true : false); +} --- a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt @@ -9,6 +9,7 @@ [% INCLUDE 'calendar.inc' %]