Bugzilla – Attachment 61851 Details for
Bug 14224
patron notes about item shown at check in
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 14224: Fix prevent submit
Bug-14224-Fix-prevent-submit.patch (text/plain), 1.53 KB, created by
Aleisha Amohia
on 2017-04-04 21:06:59 UTC
(
hide
)
Description:
Bug 14224: Fix prevent submit
Filename:
MIME Type:
Creator:
Aleisha Amohia
Created:
2017-04-04 21:06:59 UTC
Size:
1.53 KB
patch
obsolete
>From 9beb1e3614c93c2d1076cafafa25fb5c7a42ac67 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Thu, 2 Feb 2017 11:10:30 +0100 >Subject: [PATCH] Bug 14224: Fix prevent submit > >That did not work, the form was submitted anyway > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> > >Signed-off-by: Josef Moravec <josef.moravec@gmail.com> >--- > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt >index c22d5b0..8f0cc94 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt >@@ -912,11 +912,13 @@ Using this account is not recommended because some parts of Koha will not functi > $("a[name='nonjs_submitnote']").hide(); > > $("input[name='note']").prop('readonly', false); >- $("input[name='note']").keyup(function(e){ >+ $("input[name='note']").keypress(function(e){ > /* prevent submitting of renewselected form */ > if(e.which == 13) > e.preventDefault(); >+ }); > >+ $("input[name='note']").keyup(function(e){ > var $btn_save = $('#save_'+$(this).data('issue_id')); > var origvalue = $(this).data('origvalue'); > var value = $(this).val(); >-- >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 14224
:
41801
|
41921
|
56682
|
57440
|
57577
|
57763
|
57802
|
57829
|
57853
|
58277
|
58325
|
58326
|
58372
|
58606
|
58622
|
59469
|
59637
|
59641
|
59761
|
59779
|
59780
|
59781
|
59782
|
59783
|
59784
|
59785
|
59786
|
59787
|
59788
|
59796
|
59798
|
59799
|
59800
|
59801
|
59802
|
59803
|
59804
|
59805
|
59806
|
61847
|
61848
|
61849
|
61850
|
61851
|
61852
|
61853
|
61854
|
61855
|
61856
|
62196
|
62197
|
62198
|
62199
|
62200
|
62201
|
62202
|
62203
|
62204
|
62205
|
62206
|
62633
|
62634
|
62635
|
62636
|
62637
|
62638
|
62639
|
62640
|
62641
|
62642
|
62643
|
62644