Merge branch 'fix-modules_selection_mode_changes_not_update_module_list' into 'develop'

Make change of "modules selection mode" in scheduled downtime editor updates module list

See merge request artica/pandorafms!1334
This commit is contained in:
vgilc 2018-03-05 09:15:30 +01:00
commit 88d000379a
2 changed files with 2 additions and 1 deletions

View File

@ -1186,6 +1186,7 @@ ui_require_jquery_file("ui.datepicker-" . get_user_language(), "include/javascri
$(document).ready (function () {
$("#id_agents").change(agent_changed_by_multiple_agents);
$("#modules_selection_mode").change(agent_changed_by_multiple_agents);
change_type_downtime();
change_type_execution();

View File

@ -299,7 +299,7 @@ if (is_ajax ()) {
}
if ($get_agent_modules_json_for_multiple_agents) {
$idAgents = get_parameter('id_agent');
$idAgents = (array) get_parameter('id_agent');
$tags = get_parameter('tags', null);
$module_types_excluded = get_parameter('module_types_excluded', array());
$module_name = (string) get_parameter('name');