From c973d8b2573de5630085d2c4cc829d3bca5f47df Mon Sep 17 00:00:00 2001 From: Jonathan Date: Wed, 17 Jan 2024 14:04:27 +0100 Subject: [PATCH] #12542 trigger module change --- pandora_console/include/javascript/pandora_modules.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pandora_console/include/javascript/pandora_modules.js b/pandora_console/include/javascript/pandora_modules.js index a126bc36f5..b4445e0877 100644 --- a/pandora_console/include/javascript/pandora_modules.js +++ b/pandora_console/include/javascript/pandora_modules.js @@ -159,9 +159,8 @@ function configure_modules_form() { period_select_update("module_interval", data["module_interval"]); } - $("#id_module_group") - .val(data["id_module_group"]) - .trigger("change"); + $("#id_module_group").val(data["id_module_group"]); + $("#id_module_group").trigger("change"); if (data["history_data"]) $("#checkbox-history_data").check(); else $("#checkbox-history_data").uncheck();