aboutsummaryrefslogtreecommitdiffstats
path: root/src/static/js/dashboard.js
diff options
context:
space:
mode:
authorParker Berberian <pberberian@iol.unh.edu>2019-06-25 16:07:32 -0400
committerParker Berberian <pberberian@iol.unh.edu>2019-06-25 16:07:32 -0400
commit7dc7649a1171b9e95794249e26f76a8984a8cee4 (patch)
treee803834de258e697896c3a69846f294807ef3a53 /src/static/js/dashboard.js
parent341b3336ae80fbb3c8e90070c52f62df387c8cf5 (diff)
Dashboard.js bug fix
A couple bugs slipped in from complicated merges. Change-Id: I373b934b7b02e8af2f54997c918c7690e495c374 Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
Diffstat (limited to 'src/static/js/dashboard.js')
-rw-r--r--src/static/js/dashboard.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/static/js/dashboard.js b/src/static/js/dashboard.js
index 0ed61e8..bd43c77 100644
--- a/src/static/js/dashboard.js
+++ b/src/static/js/dashboard.js
@@ -90,7 +90,7 @@ class MultipleSelectFilterWidget {
}
for(let node of selected) {
this.select(node);
- this.markAndSweep(selected[i]);
+ this.markAndSweep(node);
}
}
}
@@ -732,7 +732,7 @@ class NetworkStep {
addNetwork(net_name) {
const ret = this.makeMxNetwork(net_name);
- this.makeSidebarNetwork(...ret);
+ this.makeSidebarNetwork(net_name, ret.color, ret.element_id);
}
updateHosts(removed) {