aboutsummaryrefslogtreecommitdiffstats
path: root/src
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
commitb1022bf4735b93718c916dcbf600ef11b3b64111 (patch)
tree14905b7e5d6f20b888cfbeae79922e3bf4e1f77f /src
parentb4d05381c10b806924a7e56501feb2c64fc1a443 (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 'src')
-rw-r--r--src/templates/dashboard/multiple_select_filter_widget.html1
1 files changed, 1 insertions, 0 deletions
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;
}
}