]> git.koha-community.org Git - koha.git/commit
Bug 13080 - Addition of noEnterSubmit class should not apply to textarea, only to...
authorOwen Leonard <oleonard@myacpl.org>
Tue, 14 Oct 2014 17:52:33 +0000 (13:52 -0400)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Mon, 27 Oct 2014 15:56:15 +0000 (12:56 -0300)
commitdd325738d65551c09504ebd21bcfc37d368cdecb
treead91ef972bdd6ed125c5d7aaa6ff54636226a925
parent49788987b29f14884a59d41602c7821fec03e491
Bug 13080 - Addition of noEnterSubmit class should not apply to textarea, only to input

The application of the "noEnterSubmit" class to textareas in the
cataloging editor prevents the user from being able to use the Enter key
to create line breaks. This is not intentional and should be corrected.

This patch adds more specific scoping to the relevant JavaScript.

To test, apply the patch and clear your browser cache if necessary. Open
up the MARC editor and locate a tag which uses a textarea for entry. Try
typing lines of text separated by line breaks. The enter key should work
correctly.

Signed-off-by: bondiurbano costalc@gmail.com
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Passes tests and fixes the problem.

Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
koha-tmpl/intranet-tmpl/prog/en/js/cataloging.js