This commit is contained in:
2024-04-27 09:23:34 +02:00
commit 11e713ca6f
11884 changed files with 3263371 additions and 0 deletions

9
include/ECM/stopEnter.js Normal file
View File

@@ -0,0 +1,9 @@
//MZ 2013-02-23
//disable ENTER on EditView forms
function stopRKey(evt) {
var evt = (evt) ? evt : ((event) ? event : null);
var node = (evt.target) ? evt.target : ((evt.srcElement) ? evt.srcElement : null);
if ((evt.keyCode == 13) && (node.type=="text")) {return false;}
}
console.log('chce');
document.onkeypress = stopRKey;