Bugzilla – Attachment 95708 Details for
Bug 24085
Double submission of forms on returns.pl
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 24085: Make print and cancel-hold buttons instead of submit
Bug-24085-Make-print-and-cancel-hold-buttons-inste.patch (text/plain), 4.72 KB, created by
Nick Clemens
on 2019-11-21 20:44:09 UTC
(
hide
)
Description:
Bug 24085: Make print and cancel-hold buttons instead of submit
Filename:
MIME Type:
Creator:
Nick Clemens
Created:
2019-11-21 20:44:09 UTC
Size:
4.72 KB
patch
obsolete
>From ccfa316d04a5dbe7bc00f0cba3a8f6dc4d32f4f8 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Thu, 21 Nov 2019 20:38:14 +0000 >Subject: [PATCH] Bug 24085: Make print and cancel-hold buttons instead of > submit > >To test: >1 - Place a hold on an item >2 - Check in the item to trigger the hold >3 - Test both the print and cancel buttons to make sure all looks correct >--- > koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt | 10 +++++----- > 1 file changed, 5 insertions(+), 5 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt >index a65294b985..cab5d40494 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt >@@ -475,11 +475,11 @@ > </button> > > <input type="hidden" name="print_slip" value="0" /> >- <button type="submit" class="btn btn-default print"> >+ <button type="button" class="btn btn-default print"> > <i class="fa fa-print"></i> Print slip and confirm > </button> > >- <button type="submit" class="btn btn-default deny cancel-hold"> >+ <button type="button" class="btn btn-default deny cancel-hold"> > <i class="fa fa-times"></i> Cancel hold > </button> > </div> <!-- /.modal-footer --> >@@ -522,7 +522,7 @@ > <div class="modal-footer"> > [% IF !transfer %] > <button type="submit" name="dotransfer" value="Yes" class="btn btn-default approve"><i class="fa fa-check"></i> Yes</button> >- <button type="submit" name="dotransfer" value="Yes" class="btn btn-default print openWin" data-url="transfer-slip.pl?transferitem=[% itemnumber | html %]&&branchcode=[% returnbranch | html %]&op=slip"><i class="fa fa-print"></i> Yes, print slip</button> >+ <button type="button" name="dotransfer" value="Yes" class="btn btn-default print openWin" data-url="transfer-slip.pl?transferitem=[% itemnumber | html %]&&branchcode=[% returnbranch | html %]&op=slip"><i class="fa fa-print"></i> Yes, print slip</button> > <button type="button" data-dismiss="modal" class="btn btn-default deny" name="notransfer" value="No"><i class="fa fa-times"></i> No</button> > [% ELSE %] > <button type="button" data-dismiss="modal" class="btn btn-default approve"><i class="fa fa-check"></i> OK</button> >@@ -637,14 +637,14 @@ > <button type="submit" class="btn btn-default approve"> > <i class="fa fa-check"></i> Confirm hold and transfer > </button> >- <button type="submit" class="btn btn-default print"> >+ <button type="button" class="btn btn-default print"> > <i class="fa fa-print"></i> Print slip, transfer, and confirm > </button> > [% ELSE %] > <button type="submit" class="btn btn-default approve"> > <i class="fa fa-check"></i> Confirm hold > </button> >- <button type="submit" class="btn btn-default print"> >+ <button type="button" class="btn btn-default print"> > <i class="fa fa-print"></i> Print slip and confirm > </button> > [% END %] >-- >2.11.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 24085
:
95708
|
95839
|
96286
|
96313