diff --git a/metadata/dbms/showrecord.js b/metadata/dbms/showrecord.js index 598d4cc..020460f 100644 --- a/metadata/dbms/showrecord.js +++ b/metadata/dbms/showrecord.js @@ -1237,7 +1237,7 @@ class SRec let tr = document.createElement('tr'); tr.onmouseover=function(){ this.style.backgroundColor="var(--btn-color2)"; }; tr.onmouseout=function(val1,val2){return function(){val1.style.backgroundColor=val2;}}(tr,bgColor); - tr.setAttribute("id",id+'_'+this.uid); + tr.setAttribute("id",''+id+'_'+this.uid); tr.style.backgroundColor=bgColor; //sequential record number @@ -1281,7 +1281,7 @@ class SRec else textNode=document.createTextNode(""); //td.setAttribute("id",id+this.masCL[colN].getAttribute("n")); //so that you can identify each record when you update - td.setAttribute("id",id+this.masCL[colN].n); //so that you can identify each record when you update + td.setAttribute("id",""+id+"_"+this.masCL[colN].getAttribute("n")); //so that you can identify each record when you update td.appendChild(textNode); //if in the metadata for this column there is a reference object then add a link if (this.masCT[colN]!=null) @@ -1473,7 +1473,7 @@ class SRec let pos=this.getColN(col); if(pos>=0){ for(let i=0;i