fix run commands switcher in modern ui #7097

Signed-off-by: si458 <simonsmith5521@gmail.com>

si458 committed Jun 15, 2025 at 19:03 UTC 809451741ea4b22b70e7337fe0195a7584d3472d
1 file changed +1
views/default3.handlebars
+1
@@ -6890,6 +6890,7 @@
6890 x += '<div id=d2runfile style=display:none><input id=d2runfileex class="form-control" type=file onchange=d2runCommandValidate() id=d2localFile name=files onchange=d2runCommandValidate() /></div>';
6891 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" />&nbsp;<span id=p2CurrentFolder></span></div><div id=d2serverfiles></div></div>'; }
6892 }
6893 + xxdialogTag = options;
6894 setModalContent('xxAddAgent', "Run Commands", x);
6895 showModal('xxAddAgentModal', 'idx_dlgOkButton', function () {
6896 d2groupActionFunctionRunCommands(3, options);