Bugzilla – Attachment 26569 Details for
Bug 11563
Class noEnterSubmit no longer functioning
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[PASSED QA] Bug 11563: (followup) Disable add noEnterSubmit to pulldowns
PASSED-QA-Bug-11563-followup-Disable-add-noEnterSu.patch (text/plain), 3.46 KB, created by
Katrin Fischer
on 2014-03-25 20:51:26 UTC
(
hide
)
Description:
[PASSED QA] Bug 11563: (followup) Disable add noEnterSubmit to pulldowns
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2014-03-25 20:51:26 UTC
Size:
3.46 KB
patch
obsolete
>From 2caf1d49b40f371af1775709bf7a4fd986b5a6ca Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@biblibre.com> >Date: Tue, 25 Mar 2014 09:30:14 +0100 >Subject: [PATCH] [PASSED QA] Bug 11563: (followup) Disable add noEnterSubmit > to pulldowns > >Test plan: >To test on modified pages: >- Press enter when cursor is on input or select and verify the form is not >submitted. > >Signed-off-by: Christopher Brannon <cbrannon@cdalibrary.org> >Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt | 2 +- > koha-tmpl/intranet-tmpl/prog/en/modules/members/mancredit.tt | 2 +- > koha-tmpl/intranet-tmpl/prog/en/modules/members/maninvoice.tt | 2 +- > koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt | 2 +- > 4 files changed, 4 insertions(+), 4 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt >index 23ae204..2d7f4b5 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt >@@ -20,7 +20,7 @@ $(document).ready(function(){ > window.close(); > [% END %] > [% END %] >- $("fieldset.rows input,select").addClass("noEnterSubmit"); >+ $("fieldset.rows input, fieldset.rows select").addClass("noEnterSubmit"); > /* Inline edit/delete links */ > var biblionumber = $("input[name='biblionumber']").attr("value"); > $("tr.editable td").click(function(event){ >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/mancredit.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/mancredit.tt >index a4219fa..5ecc5e2 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/mancredit.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/mancredit.tt >@@ -5,7 +5,7 @@ > //<![CDATA[ > $(document).ready(function(){ > $('#mancredit').preventDoubleFormSubmit(); >- $("fieldset.rows input").addClass("noEnterSubmit"); >+ $("fieldset.rows input, fieldset.rows select").addClass("noEnterSubmit"); > }); > //]]> > </script> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/maninvoice.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/maninvoice.tt >index bec909e..adaf96a 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/maninvoice.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/maninvoice.tt >@@ -5,7 +5,7 @@ > //<![CDATA[ > $(document).ready(function(){ > $('#maninvoice').preventDoubleFormSubmit(); >- $("fieldset.rows input").addClass("noEnterSubmit"); >+ $("fieldset.rows input, fieldset.rows select").addClass("noEnterSubmit"); > }); > //]]> > </script> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt >index 5e9225f..694432e 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt >@@ -8,7 +8,7 @@ > <script type="text/javascript"> > //<![CDATA[ > $(document).ready(function() { >- $("fieldset.rows input,select").addClass("noEnterSubmit"); >+ $("fieldset.rows input, fieldset.rows select").addClass("noEnterSubmit"); > $("#guarantordelete").click(function() { > $("#contact-details").hide().find('a').remove(); > $("#guarantorid, #contactname, #contactfirstname").each(function () { this.value = "" }); >-- >1.8.3.2
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 11563
:
25615
|
25676
|
25678
|
25935
|
26443
|
26444
|
26445
|
26545
|
26560
|
26561
|
26562
|
26563
|
26566
|
26567
|
26568
|
26569
|
26570
|
26571
|
26572
|
26573