summaryrefslogtreecommitdiffstats
path: root/dashboard/src/templates
diff options
context:
space:
mode:
authorParker Berberian <pberberian@iol.unh.edu>2019-01-16 15:05:36 -0500
committerParker Berberian <pberberian@iol.unh.edu>2019-01-16 15:05:36 -0500
commitb17e3dac5952ef7519c711bf23b5f54adb247297 (patch)
tree948a17467f2d389c11f125420339f40e0a211047 /dashboard/src/templates
parente5e001fd12a646dac23cbc8d34a0cf40bf264d50 (diff)
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 <pberberian@iol.unh.edu>
Diffstat (limited to 'dashboard/src/templates')
-rw-r--r--dashboard/src/templates/dashboard/multiple_select_filter_widget.html1
1 files changed, 1 insertions, 0 deletions
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;
}
}