aboutsummaryrefslogtreecommitdiffstats
path: root/src/workflow
diff options
context:
space:
mode:
authorParker Berberian <pberberian@iol.unh.edu>2019-02-22 12:38:04 -0500
committerParker Berberian <pberberian@iol.unh.edu>2019-02-22 12:41:32 -0500
commitf54fc52fb6d137aabd00d16cb35a608456ac4bbc (patch)
tree8e945349199954789ff28473188762bf9d36c551 /src/workflow
parent011026903a94944258bf8c69aeb2700c6c57b02e (diff)
Fixed Selection of single hosts in quick booking
Change-Id: I8ca860ee23f9df44e38da76d539729771d32c455 Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
Diffstat (limited to 'src/workflow')
-rw-r--r--src/workflow/forms.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/workflow/forms.py b/src/workflow/forms.py
index 726e7dd..03940d8 100644
--- a/src/workflow/forms.py
+++ b/src/workflow/forms.py
@@ -348,6 +348,8 @@ class FormUtils:
slab['selected'] = 0
slab['selectable'] = 1
slab['follow'] = 1
+ if not multiple_selectable_hosts:
+ slab['follow'] = 0
slab['multiple'] = 0
items[slab['id']] = slab
mapping[slab['id']] = []