summaryrefslogtreecommitdiff
path: root/app/assets
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2016-03-14 20:04:05 +0000
committerPhil Hughes <me@iamphill.com>2016-03-14 20:04:05 +0000
commitcef1f4f2d9bad1f246a3d34d454f7fc419988aa9 (patch)
tree3c11a7e9073d0e8fe215dad51ed043c27d4178ff /app/assets
parent29b186e49d6873f6e5173e940436fc35737ce4c0 (diff)
downloadgitlab-ce-cef1f4f2d9bad1f246a3d34d454f7fc419988aa9.tar.gz
Fixes issue with unassigned not working in dropdownzero-dropdown-id
Also allowed issues to be bulk unassigned
Diffstat (limited to 'app/assets')
-rw-r--r--app/assets/javascripts/gl_dropdown.js.coffee2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/gl_dropdown.js.coffee b/app/assets/javascripts/gl_dropdown.js.coffee
index b94de4c7b5e..4f038477755 100644
--- a/app/assets/javascripts/gl_dropdown.js.coffee
+++ b/app/assets/javascripts/gl_dropdown.js.coffee
@@ -251,7 +251,7 @@ class GitLabDropdown
# Toggle active class for the tick mark
el.toggleClass "is-active"
- if value
+ if value?
if !field.length
# Create hidden input for form
input = "<input type='hidden' name='#{fieldName}' />"