summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2016-03-24 15:31:28 +0000
committerPhil Hughes <me@iamphill.com>2016-03-29 11:59:42 +0100
commitf3b162a9ac48e3eeb2548b381b6daec9d6016956 (patch)
tree9557f159dd6e1625923b3dc940008a253a43b3bb
parent88024b17c03f5cc834465574c55a566f8f1a5819 (diff)
downloadgitlab-ce-f3b162a9ac48e3eeb2548b381b6daec9d6016956.tar.gz
Fixed issue with milestone not being un-selectable
-rw-r--r--app/assets/javascripts/milestone_select.js.coffee2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/assets/javascripts/milestone_select.js.coffee b/app/assets/javascripts/milestone_select.js.coffee
index b569b7eb7bf..f98a7dda3dd 100644
--- a/app/assets/javascripts/milestone_select.js.coffee
+++ b/app/assets/javascripts/milestone_select.js.coffee
@@ -104,6 +104,8 @@ class @MilestoneSelect
selectedMilestone = selected.name
else if selected.title?
selectedMilestone = selected.title
+ else
+ selectedMilestone = ''
$dropdown.parents('form').submit()
else
selected = $selectbox