new
This commit is contained in:
@ -332,7 +332,7 @@ class SRec
|
||||
id=nodeProp.getAttribute("id");
|
||||
value=findFirstNode(nodeProp, '#cdata-section').nodeValue;
|
||||
prop.value=id;
|
||||
propvis=document.getElementById('filter_'+this.uid+'_'+prop_id+'_visible');
|
||||
let propvis=document.getElementById('filter_'+this.uid+'_'+prop_id+'_visible');
|
||||
propvis.value=value;
|
||||
propvis.select();
|
||||
}else
|
||||
@ -345,7 +345,8 @@ class SRec
|
||||
{
|
||||
if (nodeProp.nodeName=="record")
|
||||
{
|
||||
if (i%2==0) bgColor='white'; else bgColor='#e0e0e0';
|
||||
let bgColor='#e0e0e0';
|
||||
if (i%2==0) bgColor='white';
|
||||
id=nodeProp.getAttribute("id");
|
||||
value=getCdataValue(nodeProp);
|
||||
value=value.replace(/"/g, """); value=value.replace(/'/g, "\\'");
|
||||
@ -370,8 +371,8 @@ class SRec
|
||||
//Set the value for the object filter with a text field search
|
||||
setFilterVal(id,caption,prop_id)
|
||||
{
|
||||
prop=document.getElementById('filter_'+this.uid+'_'+prop_id);
|
||||
propvis=document.getElementById('filter_'+this.uid+'_'+prop_id+'_visible');
|
||||
let prop=document.getElementById('filter_'+this.uid+'_'+prop_id);
|
||||
let propvis=document.getElementById('filter_'+this.uid+'_'+prop_id+'_visible');
|
||||
if ((prop!=null)&&(propvis!=null))
|
||||
{
|
||||
prop.value=id;
|
||||
@ -944,7 +945,7 @@ class SRec
|
||||
let nodeFilter=findNodeOnPath(nodeType,"objects-list/filter");
|
||||
if(nodeFilter!=null) //Create HTML elements by XML filter.
|
||||
{
|
||||
columnNode=nodeFilter.firstChild;
|
||||
let columnNode=nodeFilter.firstChild;
|
||||
while (columnNode != null)
|
||||
{
|
||||
if (columnNode.nodeName==="column")
|
||||
|
||||
Reference in New Issue
Block a user