[Koha-bugs] [Bug 11563] Class noEnterSubmit no longer functioning

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Mar 24 16:59:09 CET 2014


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11563

--- Comment #19 from Fridolin SOMERS <fridolyn.somers at biblibre.com> ---
(In reply to Jonathan Druart from comment #18)
> (In reply to Fridolin SOMERS from comment #17)
> > But this class in actually only set on "input" elements : 
> >   $("fieldset.rows input").addClass("noEnterSubmit");
> 
> No, the *last* patch does the following :
> -            $("fieldset.rows input").addClass("noEnterSubmit");
> +            $("fieldset.rows input,select").addClass("noEnterSubmit");
> 
> :)
Ohhhhhh, sorry I had not seen this patch.

@Kyle :
I think the JQuery selector is not correct :
  $("fieldset.rows input,select").addClass("noEnterSubmit");
should be :
  $("fieldset.rows input, fieldset.rows select").addClass("noEnterSubmit");

Also, the pages mancredit.tt and maninvoice.tt are also using noEnterSubmit
class. They should have the same JS code no ?

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list