Commit ae2fb991 authored by Alfredo Sumaran's avatar Alfredo Sumaran

Show proper error message when saving priority fails

parent 0960cba0
...@@ -71,11 +71,8 @@ class @LabelManager ...@@ -71,11 +71,8 @@ class @LabelManager
data: data:
label_ids: @getSortedLabelsIds() label_ids: @getSortedLabelsIds()
xhr.done ->
console.log 'done'
xhr.fail -> xhr.fail ->
console.log 'fail' new Flash('Unable to update label prioritization at this time' , 'alert')
getSortedLabelsIds: -> getSortedLabelsIds: ->
sortedIds = [] sortedIds = []
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment