From 6f4baf2c59ff00b64a0beb891605c2dd4a7452a6 Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Mon, 16 Jun 2014 07:30:03 -0400 Subject: [PATCH] Bug 11292 [QA Followup] - Use noEnterSubmit instead of new keypress handler Signed-off-by: Kyle M Hall Signed-off-by: Tomas Cohen Arazi --- koha-tmpl/intranet-tmpl/prog/en/js/cataloging.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/js/cataloging.js b/koha-tmpl/intranet-tmpl/prog/en/js/cataloging.js index 62c8b51093..25ed3c2743 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/js/cataloging.js +++ b/koha-tmpl/intranet-tmpl/prog/en/js/cataloging.js @@ -483,7 +483,5 @@ function CheckMandatorySubfields(p){ } $(document).ready(function() { - $("body").on("keypress", ".input_marceditor, .indicator", function(e){ - return checkEnter(e); - }); + $(".input_marceditor, .indicator").addClass('noEnterSubmit'); }); -- 2.11.0