Merge branch 'ent-4458-Filtro-de-módulos-deshabilitados-al-agregarlos-a-un-servicio' into 'develop'

Remove disabled modules to create service element - #4458

See merge request artica/pandorafms!2646
This commit is contained in:
Alejandro Fraguas 2019-08-21 10:32:11 +02:00
commit 83cb4fc484
1 changed files with 9 additions and 1 deletions

View File

@ -4444,6 +4444,10 @@ function ui_print_agent_autocomplete_input($parameters)
$get_only_string_modules = true;
}
if (isset($parameters['no_disabled_modules'])) {
$no_disabled_modules = $parameters['no_disabled_modules'];
}
$spinner_image = html_print_image('images/spinner.gif', true, false, true);
if (isset($parameters['spinner_image'])) {
$spinner_image = $parameters['spinner_image'];
@ -4591,7 +4595,11 @@ function ui_print_agent_autocomplete_input($parameters)
if ('.((int) $get_only_string_modules).') {
inputs.push ("get_only_string_modules=1");
}
if ('.((int) $no_disabled_modules).') {
inputs.push ("disabled=0");
}
if ('.((int) $metaconsole_enabled).') {
if (('.((int) $use_input_server).')
|| ('.((int) $print_input_server).')) {