diff options
author | Filipa Lacerda <filipa@gitlab.com> | 2017-08-14 11:35:58 +0100 |
---|---|---|
committer | Filipa Lacerda <filipa@gitlab.com> | 2017-08-14 11:40:00 +0100 |
commit | 6bf781e486fd9e86c37b365b0ea210a32b26ed4a (patch) | |
tree | 450e143df227fa512c7969177821e89e3c2e968b /app/views/projects/issues | |
parent | b67e333ce8dbb7bb81959c293e3e9c4aef5e9702 (diff) | |
download | gitlab-ce-6bf781e486fd9e86c37b365b0ea210a32b26ed4a.tar.gz |
Fix autocomplete broken tests
Diffstat (limited to 'app/views/projects/issues')
-rw-r--r-- | app/views/projects/issues/_discussion.html.haml | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/app/views/projects/issues/_discussion.html.haml b/app/views/projects/issues/_discussion.html.haml index 57391c3f148..f2992a7c687 100644 --- a/app/views/projects/issues/_discussion.html.haml +++ b/app/views/projects/issues/_discussion.html.haml @@ -1,3 +1,4 @@ +- @gfm_form = true - content_for :note_actions do - if can?(current_user, :update_issue, @issue) = link_to 'Reopen issue', issue_path(@issue, issue: {state_event: :reopen}, format: 'json'), data: {original_text: "Reopen issue", alternative_text: "Comment & reopen issue"}, class: "btn btn-nr btn-reopen btn-comment js-note-target-reopen #{issue_button_visibility(@issue, false)}", title: 'Reopen issue' @@ -16,5 +17,3 @@ - content_for :page_specific_javascripts do = webpack_bundle_tag 'common_vue' = webpack_bundle_tag 'notes' - -= render "layouts/init_auto_complete" |