summaryrefslogtreecommitdiff
path: root/app/views/projects/issues
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2015-04-29 16:47:31 -0400
committerRobert Speicher <rspeicher@gmail.com>2015-05-06 12:58:27 -0400
commita3d55db91053955a36c6a48c9ad596752a3aba40 (patch)
tree9669df0e2d0ba30623dbbca8af39712c75af9686 /app/views/projects/issues
parent18baf550e1ecfd0a8cd356490c3cae4e4566fb8f (diff)
downloadgitlab-ce-a3d55db91053955a36c6a48c9ad596752a3aba40.tar.gz
Update task list behavior for Issues
Diffstat (limited to 'app/views/projects/issues')
-rw-r--r--app/views/projects/issues/_issue_context.html.haml2
-rw-r--r--app/views/projects/issues/show.html.haml4
2 files changed, 4 insertions, 2 deletions
diff --git a/app/views/projects/issues/_issue_context.html.haml b/app/views/projects/issues/_issue_context.html.haml
index 7cadb9983fa..323f5c84a85 100644
--- a/app/views/projects/issues/_issue_context.html.haml
+++ b/app/views/projects/issues/_issue_context.html.haml
@@ -1,4 +1,4 @@
-= form_for [@project.namespace.becomes(Namespace), @project, @issue], remote: true, html: {class: 'edit-issue inline-update'} do |f|
+= form_for [@project.namespace.becomes(Namespace), @project, @issue], remote: true, html: {class: 'edit-issue inline-update js-issue-update'} do |f|
%div.prepend-top-20
.issuable-context-title
%label
diff --git a/app/views/projects/issues/show.html.haml b/app/views/projects/issues/show.html.haml
index 81478dfe568..2d248c15f4f 100644
--- a/app/views/projects/issues/show.html.haml
+++ b/app/views/projects/issues/show.html.haml
@@ -31,10 +31,12 @@
= gfm escape_once(@issue.title)
%div
- if @issue.description.present?
- .description
+ .description.js-task-list-container
.wiki
= preserve do
= markdown(@issue.description, parse_tasks: true)
+ %textarea.hidden.js-task-list-field
+ = @issue.description
%hr
.issue-discussion