diff options
author | Phil Hughes <me@iamphill.com> | 2016-03-08 14:58:14 +0300 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2016-03-10 16:54:54 +0300 |
commit | 2e3c082f2a07d93de2f552d6504f33204e93a447 (patch) | |
tree | 5379de262b4bdf87e688c94906e5a940fa5c6d16 /app/assets/javascripts/milestone_select.js.coffee | |
parent | 75b21ebd75ddf9afef6939d1af65219110f463cd (diff) |
Status dropdown
Diffstat (limited to 'app/assets/javascripts/milestone_select.js.coffee')
-rw-r--r-- | app/assets/javascripts/milestone_select.js.coffee | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/app/assets/javascripts/milestone_select.js.coffee b/app/assets/javascripts/milestone_select.js.coffee index aa0d632561f..9c45800af6e 100644 --- a/app/assets/javascripts/milestone_select.js.coffee +++ b/app/assets/javascripts/milestone_select.js.coffee @@ -16,7 +16,7 @@ class @MilestoneSelect data.unshift( title: 'No milestone' ) - + if showAny data.unshift( title: 'Any milestone' @@ -41,5 +41,6 @@ class @MilestoneSelect isSelected: (milestone) -> milestone.title is selectedMilestone clicked: -> - $(dropdown).parents('form').submit() + if $(dropdown).hasClass "js-filter-submit" + $(dropdown).parents('form').submit() ) |