summaryrefslogtreecommitdiff
path: root/app/assets
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2016-07-16 09:32:08 +0100
committerPhil Hughes <me@iamphill.com>2016-07-20 10:48:02 +0100
commit3582861cbcb3e4c80822408c6c31d0de48720813 (patch)
treec9279f21db346ecd2dec801c85bdc79eb0f429d1 /app/assets
parentbf1d0cbeaefbbf431bc6c5042e7406c9842b5226 (diff)
downloadgitlab-ce-3582861cbcb3e4c80822408c6c31d0de48720813.tar.gz
Fixed label dropdown bugs with pre-selecting the toggle label
Diffstat (limited to 'app/assets')
-rw-r--r--app/assets/javascripts/labels_select.js.coffee1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/assets/javascripts/labels_select.js.coffee b/app/assets/javascripts/labels_select.js.coffee
index 39a32f903d4..ce630dcacb3 100644
--- a/app/assets/javascripts/labels_select.js.coffee
+++ b/app/assets/javascripts/labels_select.js.coffee
@@ -293,6 +293,7 @@ class @LabelsSelect
else if selectedLabels.length is 1
selectedLabels[0]
else
+ console.log selectedLabels.length, defaultLabel
defaultLabel
defaultLabel: defaultLabel
fieldName: $dropdown.data('field-name')