Мелкое

This commit is contained in:
2020-08-02 22:26:34 +06:00
parent 6e7158adc6
commit 4df922252f
3 changed files with 13 additions and 14 deletions

View File

@ -654,7 +654,7 @@ class EdtRec
//Button to send the file to the server
let btnSel = document.createElement('input');
button.className='button-secondary';
btnSel.className='button-secondary';
btnSel.setAttribute("type","button");
btnSel.setAttribute("value","...");
btnSel.setAttribute("title",_('Upload'));
@ -663,7 +663,7 @@ class EdtRec
newCell2.appendChild(btnSel);
let button2 = document.createElement('input');
button.className='button-secondary';
button2.className='button-secondary';
button2.setAttribute("type","button");
button2.setAttribute("value","X");
button2.setAttribute("title",_('Delete'));
@ -672,7 +672,7 @@ class EdtRec
newCell3.appendChild(button2);
//Download button
newCell4.innerHTML='<form action="'+ScriptDName+'" method="get" style="display:inline;" target="_blank"><input type="hidden" name="fn" value="10"/><input type="hidden" name="n" value="'+nodeProp.getAttribute('cd')+'"/><input type="hidden" name="t" value="'+nodeType.getAttribute('n')+'"/><input type="hidden" name="f" value="'+nodeProp.getAttribute('n')+'"/><input type="hidden" name="i" value="'+record_id+'"/><input style="height:22px;width:22px;" type="submit" title="'+_('Download')+'" value="D" /></form>'
newCell4.innerHTML='<form action="'+ScriptDName+'" method="get" style="display:inline;" target="_blank"><input type="hidden" name="fn" value="10"/><input type="hidden" name="n" value="'+nodeProp.getAttribute('cd')+'"/><input type="hidden" name="t" value="'+nodeType.getAttribute('n')+'"/><input type="hidden" name="f" value="'+nodeProp.getAttribute('n')+'"/><input type="hidden" name="i" value="'+record_id+'"/><input class="button-secondary" style="height:22px;width:22px;" type="submit" title="'+_('Download')+'" value="D" /></form>'
td2.appendChild( tbl_b );