I don't understand why I didn't send these changes earlier.

This commit is contained in:
Igor I
2025-07-30 08:40:45 +05:00
parent 65fe6498cd
commit cb2146cb7a
11 changed files with 113 additions and 2908 deletions

View File

@ -1540,7 +1540,7 @@ class SRec
if(this.rwin!=null)
{
this.rwin.hideProgressBar();
this.rwin.setContent('<table border="0px" style="width: 100%; height: 100%; background-color: var(--back-color-1);"><tr><td align="center"><a href="'+ScriptRName+(ScriptRName.indexOf('?')!=-1 ? '&file=' : '?file=')+findFirstNode(node,'#cdata-section').nodeValue+'" target="_blank">'+trt('Download_report')+': "'+this.win.getCaption().innerHTML+'".</a></td></tr></table>');
this.rwin.setContent('<table border="0px" style="width: 100%; height: 100%; background-color: var(--back-color-1);"><tr><td align="center"><a href="'+ScriptRName+(ScriptRName.indexOf('?')!=-1 ? '&file=' : '?file=')+findFirstNode(data,'#cdata-section').nodeValue+'" target="_blank">'+trt('Download_report')+': "'+this.win.getCaption().innerHTML+'".</a></td></tr></table>');
}
}else
{
@ -1579,7 +1579,11 @@ class SRec
let erec = new EdtRec("");
erec.win.setParent(this.win);
erec.opener=this;
erec.eRecNo(this.nodeMetadata,id);
if(findNodeOnPath(this.nodeMetadata, 'type/properties')!=null)
erec.eRecNo(this.nodeMetadata,id);
else
erec.eRecNa(this.f_TypeName,id,null);
//e.win.setLeftTop(pageX-10,pageY-10);
if(this.onInsert!=null) this.onUpdate(erec);
@ -1601,7 +1605,11 @@ class SRec
let erec = new EdtRec("");
erec.win.setParent(this.win);
erec.opener=this;
erec.eRecNo(this.nodeMetadata,id);
//alert("2 "+findNodeOnPath(this.nodeMetadata, 'type/properties'));
if(findNodeOnPath(this.nodeMetadata, 'type/properties')!=null)
erec.eRecNo(this.nodeMetadata,id);
else
erec.eRecNa(this.f_TypeName,id,null);
//e.win.setLeftTop(pageX-10,pageY-10);
if(this.onInsert!=null) this.onUpdate(erec);
@ -1668,7 +1676,7 @@ class SRec
{
this.f_TypeName=typeName;
this.f_Settings=settings;
postXMLData(ScriptName,'<metadata fn="0"><type n="'+this.f_TypeName+'"></type></metadata>',(ok,data)=>{
postXMLData(ScriptDBMS+"metadata",'<metadata fn="0"><type n="'+this.f_TypeName+'"></type></metadata>',(ok,data)=>{
if(ok){
if(data.error_code=='0')
{