Commit 98532a47d4113a63d12341822b353d8a89d01a32
1 parent
b86decc6
Exists in
dev
remove old JS code in agent_detail (display_form_cmd)
Showing
1 changed file
with
2 additions
and
1 deletions
Show diff stats
src/core/pyros_django/dashboard/templates/dashboard/agent_detail.html
... | ... | @@ -451,12 +451,13 @@ |
451 | 451 | let agent_general_commands = data.agent_general_commands; |
452 | 452 | let specific_cmd_with_args = data.specific_cmd_with_args; |
453 | 453 | var select = $("<select>").attr('name','cmd_name').attr('id','cmd_name').appendTo("#cmdform_running"); |
454 | + /* | |
454 | 455 | for (cmd of agent_general_commands){ |
455 | 456 | select.append($("<option>").attr('value',cmd).title(cmd_description).text(cmd)); |
456 | 457 | } |
457 | 458 | for (cmd in specific_cmd_with_args){ |
458 | 459 | select.append($("<option>").attr('value',cmd).title(cmd_description).attr(cmd)); |
459 | - } | |
460 | + }*/ | |
460 | 461 | |
461 | 462 | } |
462 | 463 | //$("#cmdform_running").append("</select>"); | ... | ... |