Bugzilla – Attachment 99951 Details for
Bug 24540
Unexpected behaviour on 'enter' in point of sale payment fields
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 24540: Prevent add button being triggered on enter
Bug-24540-Prevent-add-button-being-triggered-on-en.patch (text/plain), 1.59 KB, created by
Martin Renvoize (ashimema)
on 2020-03-02 16:52:19 UTC
(
hide
)
Description:
Bug 24540: Prevent add button being triggered on enter
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2020-03-02 16:52:19 UTC
Size:
1.59 KB
patch
obsolete
>From 581a8edea8eef5c685e14e4873e6f4f342dbb11e Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Mon, 2 Mar 2020 16:50:17 +0000 >Subject: [PATCH] Bug 24540: Prevent add button being triggered on enter > >This patch prevents the add button being triggered by hitting return >from inside the collected from patron form input. >--- > koha-tmpl/intranet-tmpl/prog/en/modules/pos/pay.tt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/pos/pay.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/pos/pay.tt >index e0a68b1436..0b80f46771 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/pos/pay.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/pos/pay.tt >@@ -55,7 +55,7 @@ > <td>[% invoice.description | html %]</td> > <td>[% invoice.default_amount | $Price %]</td> > <td> >- <button class="add_button" data-invoice-code="[% invoice.code | html %]" data-invoice-title="[% invoice.description | html %]" data-invoice-price="[% invoice.default_amount | html %]"><i class="fa fa-plus"></i> Add</button> >+ <button type="button" class="add_button" data-invoice-code="[% invoice.code | html %]" data-invoice-title="[% invoice.description | html %]" data-invoice-price="[% invoice.default_amount | html %]"><i class="fa fa-plus"></i> Add</button> > </td> > </tr> > [% END %] >-- >2.20.1
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 24540
:
99951
|
99952
|
100004
|
100097