Блокирование закрытия окна tools.js
This commit is contained in:
@ -586,10 +586,10 @@ class SRec
|
||||
let input = document.createElement('input');
|
||||
input.style.cssText="width: 100%;";
|
||||
input.setAttribute("type","text");
|
||||
input.onkeydown=function(event){
|
||||
/*input.onkeydown=function(event){
|
||||
events = event || window.event;
|
||||
if(events.keyCode==13) events.keyCode=9;
|
||||
};
|
||||
};*/
|
||||
input.setAttribute("name",columnNode.getAttribute("n"));
|
||||
if(columnNode.getAttribute("size")!=null)
|
||||
input.setAttribute("maxlength",columnNode.getAttribute("size"),0);
|
||||
@ -632,10 +632,10 @@ class SRec
|
||||
input = document.createElement('input');
|
||||
input.style.cssText="width: 100%;";
|
||||
input.setAttribute("type","text");
|
||||
input.onkeydown=function(event){
|
||||
/*input.onkeydown=function(event){
|
||||
events = event || window.event;
|
||||
if(events.keyCode==13) events.keyCode=9;
|
||||
};
|
||||
};*/
|
||||
input.setAttribute("name",columnNode.getAttribute("n"));
|
||||
if(columnNode.getAttribute("size")!=null)
|
||||
input.setAttribute("maxlength",columnNode.getAttribute("size"),0);
|
||||
|
||||
Reference in New Issue
Block a user