Bugzilla – Attachment 101451 Details for
Bug 24952
Refund modal confirm button should have an ID
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 24952: Add id to refund modals confirm buttons
Bug-24952-Add-id-to-refund-modals-confirm-buttons.patch (text/plain), 2.75 KB, created by
Tomás Cohen Arazi (tcohen)
on 2020-03-23 14:31:00 UTC
(
hide
)
Description:
Bug 24952: Add id to refund modals confirm buttons
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2020-03-23 14:31:00 UTC
Size:
2.75 KB
patch
obsolete
>From 3208229396b9514bddd8e989ba1343634c1e7200 Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Mon, 23 Mar 2020 12:32:34 +0000 >Subject: [PATCH] Bug 24952: Add id to refund modals confirm buttons > >This patch adds an ID to the refund confirmation modals for both >borrower account and point of sale register details pages. > >Test plan: >1/ Apply patch >2/ Attempt to issue a refund to a patron >3/ Inspect the page and note the presence of an ID for the confirm > button, >4/ Attempt to issue a refund via point of sale register details page >5/ Inspect the page and note the presence of an ID for the confirm > button. >6/ Signoff > >Signed-off-by: Owen Leonard <oleonard@myacpl.org> >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt | 2 +- > koha-tmpl/intranet-tmpl/prog/en/modules/pos/register.tt | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt >index 2d41a7eaed..db7305e514 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt >@@ -248,7 +248,7 @@ > </div> <!-- /.modal-body --> > <div class="modal-footer"> > <input type="hidden" name="op" value="refund"> >- <button type="submit" class="btn btn-default">Confirm</button> >+ <button type="submit" class="btn btn-default" id="borr_refund_confirm">Confirm</button> > <button type="button" class="btn btn-default" data-dismiss="modal">Cancel</button> > </div> <!-- /.modal-footer --> > </div> <!-- /.modal-content --> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/pos/register.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/pos/register.tt >index 9c8d08c55a..72de637aa5 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/pos/register.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/pos/register.tt >@@ -275,7 +275,7 @@ > <div class="modal-footer"> > <input type="hidden" name="registerid" value="[% register.id | html %]"> > <input type="hidden" name="op" value="refund"> >- <button type="submit" class="btn btn-default">Confirm</button> >+ <button type="submit" class="btn btn-default" id="pos_refund_confirm">Confirm</button> > <button type="button" class="btn btn-default" data-dismiss="modal">Cancel</button> > </div> <!-- /.modal-footer --> > </div> <!-- /.modal-content --> >-- >2.26.0
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 24952
:
101436
|
101444
| 101451