From f87aac4c7fd1ba0fabb01c284a8189b1fc52b9de Mon Sep 17 00:00:00 2001 From: Calvin Pomerantz Date: Tue, 15 Mar 2016 16:53:14 -0400 Subject: [PATCH] The request form adds the currently being typed email and rack affinity as a tag when losing focus --- SingularityUI/app/views/requestFormBase.coffee | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/SingularityUI/app/views/requestFormBase.coffee b/SingularityUI/app/views/requestFormBase.coffee index eb776aee7d..acedf96bdf 100644 --- a/SingularityUI/app/views/requestFormBase.coffee +++ b/SingularityUI/app/views/requestFormBase.coffee @@ -17,13 +17,16 @@ class RequestFormBase extends FormBaseView { name: 'owners', selector: '#owners' options: - tags: true + tags: [] containerCssClass: 'select-owners hide-select2-spinner' dropdownCssClass: 'hidden' + selectOnBlur: true } { name: 'rackAffinity', selector: "#rackAffinity-#{type}" - options: tags: racks + options: + tags: racks + selectOnBlur: true } ]