From 6440cfc4192afdeac17756e020a1eb9389cda74b Mon Sep 17 00:00:00 2001 From: Igor I Date: Wed, 7 Feb 2024 08:29:24 +0600 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=B8=D0=BB=20?= =?UTF-8?q?=D1=84=D1=83=D0=BD=D0=BA=D1=86=D0=B8=D1=8E=20=D0=BF=D0=BE=20?= =?UTF-8?q?=D1=83=D0=B4=D0=B0=D0=BB=D0=B5=D0=BD=D0=B8=D1=8E=20=D0=B2=D1=81?= =?UTF-8?q?=D0=B5=D1=85=20=D0=B4=D0=BE=D1=87=D0=B5=D1=80=D0=BD=D0=B8=D1=85?= =?UTF-8?q?=20=D1=8D=D0=BB=D0=B5=D0=BC=D0=B5=D0=BD=D1=82=D0=BE=D0=B2.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- metadata/dbms/showrecord.js | 6 +++--- metadata/dbms/tools.js | 7 +++++++ 2 files changed, 10 insertions(+), 3 deletions(-) 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