From db3d4a0d7d2b97a021be1464a99b8084c31b62cb Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Fri, 7 Mar 2014 09:05:31 -0500 Subject: [PATCH] Bug 11563: (follow-up) add noEnterSubmit class to pulldowns When using Chrome on Mac OS X, form submits are triggered by hitting enter when focused on a select. This is not an issue with any other combination of browser and operating system that I am aware of. Signed-off-by: Jonathan Druart Signed-off-by: Christopher Brannon Signed-off-by: Katrin Fischer Signed-off-by: Galen Charlton --- koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/additem.tt | 2 +- .../intranet-tmpl/prog/en/modules/members/memberentrygen.tt | 2 +- 2 files changed, 2 insertions(+), 2 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 2e3ddc324c..23ae2043f3 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").addClass("noEnterSubmit"); + $("fieldset.rows input,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/memberentrygen.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt index 720193f54e..5e9225fe3f 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 @@