diff options
author | Parker Berberian <pberberian@iol.unh.edu> | 2018-10-26 10:41:44 -0400 |
---|---|---|
committer | Parker Berberian <pberberian@iol.unh.edu> | 2018-10-26 10:41:44 -0400 |
commit | 9ee74e0df422eac470cd8e32606b78030113764b (patch) | |
tree | e99f8e6936cbb495092b8424372ff74e085e1321 /dashboard/src/templates | |
parent | d6e337fa62c32155941333fe8fedc28e4f663700 (diff) |
Forces hostnames to not be empty
Previously, when a host was 'added' but not given a hostname, it was
excluded from the list of hosts sent to the backend for processing.
By explicitly adding each host to the result, we avoid this and
force the checking of an empty hostname (which will correctly fail).
Change-Id: Ia533bc23baf558a5e297dab629dbf47fb4704d7f
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.html | 1 |
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 ed29ed6..31b8f33 100644 --- a/dashboard/src/templates/dashboard/multiple_select_filter_widget.html +++ b/dashboard/src/templates/dashboard/multiple_select_filter_widget.html @@ -337,6 +337,7 @@ function add_item_prepopulate(node, prepopulate){ button.appendChild(document.createTextNode("Remove")); div.appendChild(button); document.getElementById("dropdown_wrapper").appendChild(div); + updateObjectResult(div); return div; } |