summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2016-03-16 08:53:57 +0000
committerPhil Hughes <me@iamphill.com>2016-03-16 08:53:57 +0000
commit24699682fc5abea521bf0bc9c8e141a782f975ff (patch)
tree89eebe1898ec54758485f2ffa5a909fd1390c1c3
parentcc32f2ab3ff914b9c84ef0c3519843f327a1ca2c (diff)
downloadgitlab-ce-fix-any-milestone-value.tar.gz
Removed comparing against textfix-any-milestone-value
-rw-r--r--app/assets/javascripts/milestone_select.js.coffee3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/assets/javascripts/milestone_select.js.coffee b/app/assets/javascripts/milestone_select.js.coffee
index dd2a35bef4d..86b806f53a3 100644
--- a/app/assets/javascripts/milestone_select.js.coffee
+++ b/app/assets/javascripts/milestone_select.js.coffee
@@ -30,6 +30,7 @@ class @MilestoneSelect
if showAny
data.unshift(
+ any: true
title: 'Any Milestone'
)
@@ -46,7 +47,7 @@ class @MilestoneSelect
milestone.title
id: (milestone) ->
if !useId
- if milestone.title isnt "Any Milestone"
+ if !milestone.any?
milestone.title
else
""