diff options
author | Phil Hughes <me@iamphill.com> | 2016-06-15 14:40:22 +0300 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2016-06-15 14:40:22 +0300 |
commit | 342434c886a680bea5a4e37dbfbd8d96882ae780 (patch) | |
tree | 8e531467f96201597afdc7a50fb8ce8fdfdd4ce0 /app/assets/javascripts/milestone_select.js.coffee | |
parent | bf4455d14659f1fde6391164b38310d361bf407d (diff) |
Fixed issue with de-selecting dropdown option in issue sidebar
Closes #18641
Diffstat (limited to 'app/assets/javascripts/milestone_select.js.coffee')
-rw-r--r-- | app/assets/javascripts/milestone_select.js.coffee | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/milestone_select.js.coffee b/app/assets/javascripts/milestone_select.js.coffee index 648e1f3bde0..b108f747bd6 100644 --- a/app/assets/javascripts/milestone_select.js.coffee +++ b/app/assets/javascripts/milestone_select.js.coffee @@ -116,7 +116,7 @@ class @MilestoneSelect .val() data = {} data[abilityName] = {} - data[abilityName].milestone_id = selected + data[abilityName].milestone_id = if selected? then selected else null $loading .fadeIn() $dropdown.trigger('loading.gl.dropdown') |