diff options
author | Alfredo Sumaran <alfredo@gitlab.com> | 2016-05-20 00:21:56 +0300 |
---|---|---|
committer | Alfredo Sumaran <alfredo@gitlab.com> | 2016-06-06 19:59:49 +0300 |
commit | ae2fb991b0e56f0f9c232a5c7d1d3255c811092c (patch) | |
tree | 4f43d88ec7901833c1180e6615d363c4475ae412 /app/assets/javascripts | |
parent | 0960cba0902776a5c41f55f3729260db4562236f (diff) |
Show proper error message when saving priority fails
Diffstat (limited to 'app/assets/javascripts')
-rw-r--r-- | app/assets/javascripts/LabelManager.js.coffee | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/app/assets/javascripts/LabelManager.js.coffee b/app/assets/javascripts/LabelManager.js.coffee index 7c2e4ff46c7..8a561ad1a46 100644 --- a/app/assets/javascripts/LabelManager.js.coffee +++ b/app/assets/javascripts/LabelManager.js.coffee @@ -71,11 +71,8 @@ class @LabelManager data: label_ids: @getSortedLabelsIds() - xhr.done -> - console.log 'done' - xhr.fail -> - console.log 'fail' + new Flash('Unable to update label prioritization at this time' , 'alert') getSortedLabelsIds: -> sortedIds = [] |