Bugzilla – Attachment 59967 Details for
Bug 11450
Hold Request Confirm Deletion
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 11450: Hold Request Confirm Deletion
Bug-11450-Hold-Request-Confirm-Deletion.patch (text/plain), 2.02 KB, created by
Mark Tompsett
on 2017-02-07 04:16:35 UTC
(
hide
)
Description:
Bug 11450: Hold Request Confirm Deletion
Filename:
MIME Type:
Creator:
Mark Tompsett
Created:
2017-02-07 04:16:35 UTC
Size:
2.02 KB
patch
obsolete
>From 619d69465b2d13403352742f9c44a73d56cebd5e Mon Sep 17 00:00:00 2001 >From: Luke Honiss <luke.honiss@gmail.com> >Date: Thu, 19 Jan 2017 02:55:31 +0000 >Subject: [PATCH] Bug 11450: Hold Request Confirm Deletion > >==TEST PLAN== >1) Go to an item with a hold and click on the holds tab on the >left >2) Click the red 'X' >3) The hold will be deleted immediately >4) Apply patch >5) Return to an item with a hold and click the 'X' >6) There will now be a confirmation dialog >7) Click cancel and the dialog will disappear and the hold will not be >deleted >8) Click OK and the hold will be deleted > >Restored indentations - Mark Tompsett >--- > koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt | 7 ++++++- > 1 file changed, 6 insertions(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt >index 12b4e1b..6140472 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt >@@ -168,6 +168,11 @@ function checkMultiHold() { > $("#" + fieldID).val(""); > }); > >+ // Confirm cancelation of hold >+ $(".cancel-hold").on("click",function(e) { >+ return confirmDelete(MSG_CONFIRM_DELETE_HOLD); >+ }); >+ > > [% UNLESS ( borrowernumber || borrowers || noitems ) %] > [% IF ( CircAutocompl ) %] >@@ -855,7 +860,7 @@ function checkMultiHold() { > [% END %] > > <td> >- <a title="Cancel hold" href="request.pl?action=cancel&borrowernumber=[% reserveloo.borrowernumber %]&biblionumber=[% reserveloo.biblionumber %]&reserve_id=[% reserveloo.reserve_id %]&date=[% reserveloo.date %]"> >+ <a class="cancel-hold" title="Cancel hold" href="request.pl?action=cancel&borrowernumber=[% reserveloo.borrowernumber %]&biblionumber=[% reserveloo.biblionumber %]&reserve_id=[% reserveloo.reserve_id %]&date=[% reserveloo.date %]"> > <img src="[% interface %]/[% theme %]/img/x.png" alt="Cancel" /> > </a> > </td> >-- >2.1.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 11450
:
59203
|
59276
|
59505
|
59563
|
59967
|
59968
|
60036
|
60068
|
60122
|
60220