diff options
author | Filipa Lacerda <filipa@gitlab.com> | 2017-10-09 09:04:13 +0000 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2017-10-09 09:04:13 +0000 |
commit | 7b8148220c0c7ad17d24c9ddf1e669ee73f086bf (patch) | |
tree | 7434c9a85c0d47702db54f589532ce33be3b9eea /app/assets/javascripts/labels_select.js | |
parent | 1fd0668bce074265d1a52b5e56d6a7c1ce6abab5 (diff) | |
download | gitlab-ce-7b8148220c0c7ad17d24c9ddf1e669ee73f086bf.tar.gz |
Remove AjaxLoadingSpinner and CreateLabelDropdown from global namespace
Diffstat (limited to 'app/assets/javascripts/labels_select.js')
-rw-r--r-- | app/assets/javascripts/labels_select.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/assets/javascripts/labels_select.js b/app/assets/javascripts/labels_select.js index 2538d9c2093..d479f7ed682 100644 --- a/app/assets/javascripts/labels_select.js +++ b/app/assets/javascripts/labels_select.js @@ -4,6 +4,7 @@ import _ from 'underscore'; import IssuableBulkUpdateActions from './issuable_bulk_update_actions'; import DropdownUtils from './filtered_search/dropdown_utils'; +import CreateLabelDropdown from './create_label'; (function() { this.LabelsSelect = (function() { @@ -61,7 +62,7 @@ import DropdownUtils from './filtered_search/dropdown_utils'; $sidebarLabelTooltip.tooltip(); if ($dropdown.closest('.dropdown').find('.dropdown-new-label').length) { - new gl.CreateLabelDropdown($dropdown.closest('.dropdown').find('.dropdown-new-label'), namespacePath, projectPath); + new CreateLabelDropdown($dropdown.closest('.dropdown').find('.dropdown-new-label'), namespacePath, projectPath); } saveLabelData = function() { |