From b17e3dac5952ef7519c711bf23b5f54adb247297 Mon Sep 17 00:00:00 2001 From: Parker Berberian Date: Wed, 16 Jan 2019 15:05:36 -0500 Subject: [PATCH] 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 --- dashboard/src/templates/dashboard/multiple_select_filter_widget.html | 1 + 1 file changed, 1 insertion(+) diff --git a/dashboard/src/templates/dashboard/multiple_select_filter_widget.html b/dashboard/src/templates/dashboard/multiple_select_filter_widget.html index 31b8f33..d1929ef 100644 --- a/dashboard/src/templates/dashboard/multiple_select_filter_widget.html +++ b/dashboard/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; } } -- 2.16.6