From 1f863fdcd6abd258e4b45944738580c84fd31d7a Mon Sep 17 00:00:00 2001 From: jebus Date: Wed, 15 Oct 2025 20:23:52 +1300 Subject: [PATCH] [Fix] Remove Scenarios from Objects (#159) Fixes #155 Co-authored-by: Tim Lorsbach Reviewed-on: https://git.envipath.com/enviPath/enviPy/pulls/159 --- templates/modals/objects/generic_set_scenario_modal.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/templates/modals/objects/generic_set_scenario_modal.html b/templates/modals/objects/generic_set_scenario_modal.html index 42ec3b16..0299e4a6 100644 --- a/templates/modals/objects/generic_set_scenario_modal.html +++ b/templates/modals/objects/generic_set_scenario_modal.html @@ -18,6 +18,7 @@ @@ -65,7 +66,7 @@ $('#set_scenario_modal_form_submit').on('click', function (e) { e.preventDefault(); if ($('#scenario-select').val().length == 0) { - $('#scenario-select').val(['']) + $('#scenario-select').val("") } $('#set_scenario_modal_form').submit(); });