From f401c4913a032eb00e44397b9ae4c5552cc2ad06 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 --- koha-tmpl/intranet-tmpl/prog/en/js/cataloging.js | 4 +--- 1 files changed, 1 insertions(+), 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 62c8b51..25ed3c2 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'); }); -- 1.7.2.5