Bugzilla – Attachment 32363 Details for
Bug 13080
Addition of noEnterSubmit class should not apply to textarea, only to input
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 13080 - Addition of noEnterSubmit class should not apply to textarea, only to input
Bug-13080---Addition-of-noEnterSubmit-class-should.patch (text/plain), 1.39 KB, created by
Owen Leonard
on 2014-10-15 16:01:19 UTC
(
hide
)
Description:
Bug 13080 - Addition of noEnterSubmit class should not apply to textarea, only to input
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2014-10-15 16:01:19 UTC
Size:
1.39 KB
patch
obsolete
>From 21494a92b04114a621eac5a38859e30b8b2e1e9f Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Tue, 14 Oct 2014 13:52:33 -0400 >Subject: [PATCH] Bug 13080 - Addition of noEnterSubmit class should not apply > to textarea, only to input >Content-Type: text/plain; charset="utf-8" > >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. >--- > koha-tmpl/intranet-tmpl/prog/en/js/cataloging.js | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/js/cataloging.js b/koha-tmpl/intranet-tmpl/prog/en/js/cataloging.js >index 25ed3c2..70ae6f9 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/js/cataloging.js >+++ b/koha-tmpl/intranet-tmpl/prog/en/js/cataloging.js >@@ -483,5 +483,5 @@ function CheckMandatorySubfields(p){ > } > > $(document).ready(function() { >- $(".input_marceditor, .indicator").addClass('noEnterSubmit'); >+ $("input.input_marceditor, input.indicator").addClass('noEnterSubmit'); > }); >-- >1.7.9.5
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 13080
:
32293
|
32363
|
32421