alert focus

This commit is contained in:
2021-11-28 20:04:50 +06:00
parent 07a7e2fff6
commit 17bb5fc67e
2 changed files with 5 additions and 1 deletions

View File

@ -53,6 +53,7 @@ class EdtRec
this.pBarDiv.innerHTML='<table width="100%" height="100%" cellpadding="0" cellspacing="0"><tr><td align="center" style="vertical-align: middle;"><img src="../resources/metadata/dbms/images/loading.gif" alt=""></td></tr></table>';
let eDiv=document.getElementById('eDiv'+this.uid);
if(eDiv==null) return;
eDiv.appendChild(this.pBarDiv);
}
};
@ -399,7 +400,7 @@ class EdtRec
{
if(opt.nodeName=="option")
{
option = document.createElement("option");
let option = document.createElement("option");
option.setAttribute("value",opt.getAttribute("val"));
option.appendChild(document.createTextNode(opt.getAttribute("d")));
select.appendChild( option );
@ -1039,6 +1040,7 @@ class EdtRec
let nodeType=findFirstNode(node, 'type');
prop_name=nodeType.getAttribute("pn"); //field name
prop=document.getElementById("prop_"+this.uid+"_"+prop_name);
if(prop==null) return;
let selector=null; //find what kind of object object
let nodeFilter=findFirstNode(this.nodeMetadata, 'properties');