diff options
author | Phil Hughes <me@iamphill.com> | 2016-04-20 19:00:12 +0300 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2016-04-20 19:00:12 +0300 |
commit | 75626d5f0134770065a18c73223bdd798866fa5b (patch) | |
tree | cc1d8bc6d2a674a0eb53fcf050afb3f92f077aae /app/assets/javascripts/labels_select.js.coffee | |
parent | a845252983e4a0346c17e1b058c388f4c23a547d (diff) |
Label text color comes from JSON
Created issuable singleton to house the filtering
Diffstat (limited to 'app/assets/javascripts/labels_select.js.coffee')
-rw-r--r-- | app/assets/javascripts/labels_select.js.coffee | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/assets/javascripts/labels_select.js.coffee b/app/assets/javascripts/labels_select.js.coffee index 6a89817e647..0b39efa8d78 100644 --- a/app/assets/javascripts/labels_select.js.coffee +++ b/app/assets/javascripts/labels_select.js.coffee @@ -257,7 +257,7 @@ class @LabelsSelect selectedLabels = $dropdown .closest('form') .find("input:hidden[name='#{$dropdown.data('fieldName')}']") - Issues.filterResults $dropdown.closest('form') + Issuable.filterResults $dropdown.closest('form') else if $dropdown.hasClass('js-filter-submit') $dropdown.closest('form').submit() else @@ -271,7 +271,7 @@ class @LabelsSelect if $dropdown.hasClass('js-filter-submit') and (isIssueIndex or isMRIndex) if not $dropdown.hasClass 'js-multiselect' selectedLabel = label.title - Issues.filterResults $dropdown.closest('form') + Issuable.filterResults $dropdown.closest('form') else if $dropdown.hasClass 'js-filter-submit' $dropdown.closest('form').submit() else |