Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2016-11-24 13:38:24 +0300
committerPhil Hughes <me@iamphill.com>2016-11-24 13:38:24 +0300
commit18a54116e2f1d2ac88d03ad7ed48213dab580854 (patch)
treea009817678691421f28fbf650e917a21367c7554 /app/views/projects
parent058c652904b13cea73e92615776f29fd1a8a1ded (diff)
Fixed dragging issue moving wrong issue after multiple drags of issue
Diffstat (limited to 'app/views/projects')
-rw-r--r--app/views/projects/boards/components/_card.html.haml1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/views/projects/boards/components/_card.html.haml b/app/views/projects/boards/components/_card.html.haml
index 34effac17b2..1f31496e73f 100644
--- a/app/views/projects/boards/components/_card.html.haml
+++ b/app/views/projects/boards/components/_card.html.haml
@@ -1,5 +1,6 @@
%li.card{ ":class" => '{ "user-can-drag": !disabled && issue.id, "is-disabled": disabled || !issue.id, "is-active": issueDetailVisible }',
":index" => "index",
+ ":data-issue-id" => "issue.id",
"@mousedown" => "mouseDown",
"@mousemove" => "mouseMove",
"@mouseup" => "showIssue($event)" }