Merge branch 'ent-10359-GUARDIA-15007-No-se-visualizan-agentes-deshabilitados-en-operaciones-masivas-en-meta-sin-usar-opcion-Show-agents' into 'develop'

fixed error in massive agent operations in metaconsole

See merge request artica/pandorafms!5527
This commit is contained in:
Rafael Ameijeiras 2023-03-09 08:08:58 +00:00
commit 857c84f034
1 changed files with 10 additions and 0 deletions

View File

@ -110,6 +110,16 @@ function form_controls_massive_operations_agents(metaconsole) {
$("#id_group").trigger("change"); $("#id_group").trigger("change");
}); });
if (metaconsole == 1) {
$("#nodes").change(function() {
disabled = $("#disabled").val();
});
$("#id_group").change(function() {
disabled = $("#disabled").val();
});
}
var nodes; var nodes;
$("#nodes").change(function() { $("#nodes").change(function() {
nodes = $("#nodes").val(); nodes = $("#nodes").val();