From b1022bf4735b93718c916dcbf600ef11b3b64111 Mon Sep 17 00:00:00 2001 From: Parker Berberian Date: Wed, 16 Jan 2019 15:05:36 -0500 Subject: Fix Multiple Select Filter Widget Fixed a bug in the widget that allowed multiple objects to be selected when only one was allowed. Change-Id: I623a041fa82a2f7ee178df782d21d100617eac3b Signed-off-by: Parker Berberian --- src/templates/dashboard/multiple_select_filter_widget.html | 1 + 1 file changed, 1 insertion(+) (limited to 'src/templates/dashboard') diff --git a/src/templates/dashboard/multiple_select_filter_widget.html b/src/templates/dashboard/multiple_select_filter_widget.html index 31b8f33..d1929ef 100644 --- a/src/templates/dashboard/multiple_select_filter_widget.html +++ b/src/templates/dashboard/multiple_select_filter_widget.html @@ -376,6 +376,7 @@ function updateResult(nodeId){ var node = document.getElementById(nodeId); var value = {} value[nodeId] = node.parentNode.getElementsByTagName("input")[0].value; + result[node.parentNode.parentNode.id] = {}; result[node.parentNode.parentNode.id][nodeId] = value; } } -- cgit 1.2.3-korg