Bug 11292 [QA Followup] - Use noEnterSubmit instead of new keypress handler

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
This commit is contained in:
Kyle M Hall 2014-06-16 07:30:03 -04:00 committed by Galen Charlton
parent 808c0c2cd1
commit db5481bc4b
1 changed files with 1 additions and 3 deletions

View File

@ -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');
});