summaryrefslogtreecommitdiff
path: root/app/views/projects/boards
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2016-10-06 09:03:10 +0100
committerPhil Hughes <me@iamphill.com>2016-10-07 09:15:46 +0100
commite6fa8a3d10fe34e9ee17f3122139f0b8b1b0a3f9 (patch)
treeaeac8e44bdb60871704751abe23cec551819574d /app/views/projects/boards
parent45fd2d38844afafd4ec144eb4dc388b7a76b04ad (diff)
downloadgitlab-ce-e6fa8a3d10fe34e9ee17f3122139f0b8b1b0a3f9.tar.gz
Fixed sidebar dropdowns to work with Vue
Diffstat (limited to 'app/views/projects/boards')
-rw-r--r--app/views/projects/boards/components/sidebar/_assignee.html.haml2
-rw-r--r--app/views/projects/boards/components/sidebar/_labels.html.haml2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/views/projects/boards/components/sidebar/_assignee.html.haml b/app/views/projects/boards/components/sidebar/_assignee.html.haml
index 57039237d0b..92f2a931668 100644
--- a/app/views/projects/boards/components/sidebar/_assignee.html.haml
+++ b/app/views/projects/boards/components/sidebar/_assignee.html.haml
@@ -28,7 +28,7 @@
":value" => "issue.assignee.id",
"v-if" => "issue.assignee" }
.dropdown
- %button.dropdown-menu-toggle.js-user-search.js-author-search.js-issue-board-assignee{ data: { toggle: "dropdown", field_name: "issue[assignee_id]", first_user: (current_user.username if current_user), current_user: "true", project_id: @project.id, field_name: "issue[assignee_id]", null_user: "true" },
+ %button.dropdown-menu-toggle.js-user-search.js-author-search.js-issue-board-sidebar{ data: { toggle: "dropdown", field_name: "issue[assignee_id]", first_user: (current_user.username if current_user), current_user: "true", project_id: @project.id, field_name: "issue[assignee_id]", null_user: "true" },
":data-issuable-id" => "issue.id",
":data-issue-update" => "'#{namespace_project_issues_path(@project.namespace, @project)}/' + issue.id + '.json'" }
Select assignee
diff --git a/app/views/projects/boards/components/sidebar/_labels.html.haml b/app/views/projects/boards/components/sidebar/_labels.html.haml
index 865bfa6d1da..0e2ea74ec41 100644
--- a/app/views/projects/boards/components/sidebar/_labels.html.haml
+++ b/app/views/projects/boards/components/sidebar/_labels.html.haml
@@ -18,7 +18,7 @@
"v-for" => "label in issue.labels",
":value" => "label.id" }
.dropdown
- %button.dropdown-menu-toggle.js-label-select.js-multiselect.js-issue-boards-label{ type: "button",
+ %button.dropdown-menu-toggle.js-label-select.js-multiselect.js-issue-board-sidebar{ type: "button",
data: { toggle: "dropdown", field_name: "issue[label_names][]", show_no: "true", show_any: "true", project_id: @project.id, labels: namespace_project_labels_path(@project.namespace, @project, :json) },
":data-issue-update" => "'#{namespace_project_issues_path(@project.namespace, @project)}/' + issue.id + '.json'" }
%span.dropdown-toggle-text