diff options
author | Phil Hughes <me@iamphill.com> | 2016-07-18 09:04:36 +0100 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2016-07-20 10:48:02 +0100 |
commit | 639a0b1985d2a9b22ec78ca9b61a09edaf30d655 (patch) | |
tree | 5e8b77bf03c210d978fc2e9da863813faf1ce966 /app/views/shared/issuable/_milestone_dropdown.html.haml | |
parent | c48476646eb07ab5d682fcf0fb7b3255aa16bf1d (diff) | |
download | gitlab-ce-639a0b1985d2a9b22ec78ca9b61a09edaf30d655.tar.gz |
Fixed milestone dropdown label not persisting
Diffstat (limited to 'app/views/shared/issuable/_milestone_dropdown.html.haml')
-rw-r--r-- | app/views/shared/issuable/_milestone_dropdown.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/shared/issuable/_milestone_dropdown.html.haml b/app/views/shared/issuable/_milestone_dropdown.html.haml index 0b8fd3daad7..575c71af6dc 100644 --- a/app/views/shared/issuable/_milestone_dropdown.html.haml +++ b/app/views/shared/issuable/_milestone_dropdown.html.haml @@ -1,6 +1,6 @@ - project = @target_project || @project || @projects - extra_class = extra_class || '' -- selected_text = milestone_dropdown_selected_text +- selected_text = milestone_dropdown_selected_text(selected) - if selected.present? = hidden_field_tag(name, selected) = dropdown_tag(milestone_dropdown_label(selected_text), options: { title: "Filter by milestone", toggle_class: "js-milestone-select js-filter-submit #{extra_class}", filter: true, dropdown_class: "dropdown-menu-selectable", |