[Koha-bugs] [Bug 10310] Prevent submit form pressing enter should be improved

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu May 23 09:40:06 CEST 2013


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

--- Comment #11 from Jonathan Druart <jonathan.druart at biblibre.com> ---
(In reply to comment #10)
> Just curious about this line:
>  $(e.target).attr('type') != "submit"
> Is there a difference with using e.target.type?
> Does jQuery not guarantee already that object e contains a 'which' and
> 'target'?

Yes, you are right, it is inconsistent. I will provide a followup.

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


More information about the Koha-bugs mailing list