summaryrefslogtreecommitdiff
path: root/app/views/projects/boards
diff options
context:
space:
mode:
authorSam Rose <sam@gitlab.com>2017-05-03 18:21:14 -0400
committerSam Rose <sam@gitlab.com>2017-05-10 11:17:04 -0400
commitf328f38e5b1f013c3b21f6f572cc22c71aad8fa3 (patch)
treef93686d745e644a05fff2097b146dfde367ef857 /app/views/projects/boards
parentf59a44dbdf616d29e0185090a1401a6706aef33f (diff)
downloadgitlab-ce-f328f38e5b1f013c3b21f6f572cc22c71aad8fa3.tar.gz
Disallow multiselect for Milestone dropdown
Diffstat (limited to 'app/views/projects/boards')
-rw-r--r--app/views/projects/boards/components/sidebar/_milestone.html.haml3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/views/projects/boards/components/sidebar/_milestone.html.haml b/app/views/projects/boards/components/sidebar/_milestone.html.haml
index 190e7290303..4e46351bf8a 100644
--- a/app/views/projects/boards/components/sidebar/_milestone.html.haml
+++ b/app/views/projects/boards/components/sidebar/_milestone.html.haml
@@ -16,7 +16,8 @@
name: "issue[milestone_id]",
"v-if" => "issue.milestone" }
.dropdown
- %button.dropdown-menu-toggle.js-milestone-select.js-issue-board-sidebar{ type: "button", data: { toggle: "dropdown", show_no: "true", field_name: "issue[milestone_id]", project_id: @project.id, milestones: namespace_project_milestones_path(@project.namespace, @project, :json), ability_name: "issue", use_id: "true" },
+ %button.dropdown-menu-toggle.js-milestone-select.js-issue-board-sidebar{ type: "button", data: { toggle: "dropdown", show_no: "true", field_name: "issue[milestone_id]", project_id: @project.id, milestones: namespace_project_milestones_path(@project.namespace, @project, :json), ability_name: "issue", use_id: "true", default_no: "true" },
+ ":data-selected" => "milestoneTitle",
":data-issuable-id" => "issue.id",
":data-issue-update" => "'#{namespace_project_issues_path(@project.namespace, @project)}/' + issue.id + '.json'" }
Milestone