mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-07-17 04:32:40 -04:00
fix run commands switcher in modern ui #7097
Signed-off-by: si458 <simonsmith5521@gmail.com>
This commit is contained in:
parent
95759d4022
commit
809451741e
@ -6890,6 +6890,7 @@
|
||||
x += '<div id=d2runfile style=display:none><input id=d2runfileex class="form-control" type=file onchange=d2runCommandValidate() id=d2localFile name=files onchange=d2runCommandValidate() /></div>';
|
||||
if (userinfo.siteadmin & 8) { x += '<div id=d2runsfile style=display:none><div id=d2serveraction valign=bottom><input type=button id=p2FolderUp disabled="disabled" onclick=d3folderup() value="Up" /> <span id=p2CurrentFolder></span></div><div id=d2serverfiles></div></div>'; }
|
||||
}
|
||||
xxdialogTag = options;
|
||||
setModalContent('xxAddAgent', "Run Commands", x);
|
||||
showModal('xxAddAgentModal', 'idx_dlgOkButton', function () {
|
||||
d2groupActionFunctionRunCommands(3, options);
|
||||
|
Loading…
x
Reference in New Issue
Block a user