Bug 8215 - Add Course Reserves - QA Followup
[srvgit] / koha-tmpl / intranet-tmpl / prog / en / js / staff-global.js
index f4062c2..1d23253 100644 (file)
@@ -14,6 +14,10 @@ function _(s) { return s; } // dummy function for gettext
 
     $(".focus").focus();
     $(".validated").validate();
+
+    $('.noEnterSubmit').keypress(function(e){
+        if ( e.which == 13 ) return false;
+    });
 });
 
 // http://jennifermadden.com/javascript/stringEnterKeyDetector.html