projects
/
srvgit
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Bug 8215 - Add Course Reserves - QA Followup
[srvgit]
/
koha-tmpl
/
intranet-tmpl
/
prog
/
en
/
js
/
staff-global.js
diff --git
a/koha-tmpl/intranet-tmpl/prog/en/js/staff-global.js
b/koha-tmpl/intranet-tmpl/prog/en/js/staff-global.js
index
f4062c2
..
1d23253
100644
(file)
--- a/
koha-tmpl/intranet-tmpl/prog/en/js/staff-global.js
+++ b/
koha-tmpl/intranet-tmpl/prog/en/js/staff-global.js
@@
-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