Remove disabled modules to create service element - #4458

This commit is contained in:
Tatiana Llorente 2019-08-07 14:23:10 +02:00
parent 871e0568d7
commit 7826ba79e6
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).')) {