mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-03-09 15:40:18 +00:00
Fixed plugin protocol in web app
This commit is contained in:
parent
ccf2d46b52
commit
acd39ae7fc
6 changed files with 9 additions and 9 deletions
File diff suppressed because one or more lines are too long
|
@ -57,7 +57,7 @@
|
|||
</div>
|
||||
<div id="termShellContextMenuLinux" class="contextMenu noselect" style="display:none;min-width:0px">
|
||||
<div id="cxtermnorm" class="cmtext" onclick="cmtermaction(1,event)"><b>Root Shell</b></div>
|
||||
<div id="cxtermps" class="cmtext" onclick="cmtermaction(7,event)">User Shell</div>
|
||||
<div id="cxtermps" class="cmtext" onclick="cmtermaction(8,event)">User Shell</div>
|
||||
</div>
|
||||
<!--
|
||||
<div id="pluginTabContextMenu" class="contextMenu noselect" style="display:none;min-width:0px">
|
||||
|
@ -9561,7 +9561,7 @@
|
|||
p.actions = '<select onchange="return pluginAction(this,\'' + p._id + '\');"><option value=""> --</option>';
|
||||
var entries = Object.entries(statusAvailability[p.status]);
|
||||
for (var k in entries) {
|
||||
if (cant_action.indexOf(k) === -1) {
|
||||
if (cant_action.indexOf(entries[k][0]) === -1) {
|
||||
p.actions += '<option value="' + entries[k][0] + '">' + entries[k][1] + '</option>';
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue