Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Bennett <lukeeeebennettplus@gmail.com>2018-05-17 05:00:35 +0300
committerLuke Bennett <lukeeeebennettplus@gmail.com>2018-05-17 05:00:35 +0300
commit6d3bc3970dbced33aac6a91b9ddeba777a6acad6 (patch)
tree15a683ebb85d6940d4c83f5cf245dd49ceddbe6e /app/assets/javascripts/label_manager.js
parent736292c9502cc57242b4411430f9d9f7faebda9a (diff)
UX review changes
Diffstat (limited to 'app/assets/javascripts/label_manager.js')
-rw-r--r--app/assets/javascripts/label_manager.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/assets/javascripts/label_manager.js b/app/assets/javascripts/label_manager.js
index 8013df53f25..43621deb4fd 100644
--- a/app/assets/javascripts/label_manager.js
+++ b/app/assets/javascripts/label_manager.js
@@ -9,7 +9,7 @@ import axios from './lib/utils/axios_utils';
export default class LabelManager {
constructor({ togglePriorityButton, prioritizedLabels, otherLabels } = {}) {
this.togglePriorityButton = togglePriorityButton || $('.js-toggle-priority');
- this.prioritizedLabels = prioritizedLabels || $('.js-prioritized-labels');
+ this.prioritizedLabels = prioritizedLabels || $('.js-prioritized-labels-sortable');
this.otherLabels = otherLabels || $('.js-other-labels');
this.errorMessage = 'Unable to update label prioritization at this time';
this.emptyState = document.querySelector('#js-priority-labels-empty-state');
@@ -102,6 +102,7 @@ export default class LabelManager {
}
onPrioritySortUpdate() {
+ debugger;
this.savePrioritySort()
.catch(() => flash(this.errorMessage));
}