Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Jérome Perrin
gitlab-ce
Commits
66da536a
Commit
66da536a
authored
Sep 21, 2017
by
Fatih Acet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
IssueNotes: Switch back to Write pane when note cancel or submit.
parent
92173ac5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
app/assets/javascripts/notes/components/issue_comment_form.vue
...ssets/javascripts/notes/components/issue_comment_form.vue
+3
-1
No files found.
app/assets/javascripts/notes/components/issue_comment_form.vue
View file @
66da536a
...
...
@@ -177,6 +177,7 @@
if
(
shouldClear
)
{
this
.
note
=
''
;
this
.
resizeTextarea
();
this
.
$refs
.
markdownField
.
previewMarkdown
=
false
;
}
// reset autostave
...
...
@@ -255,7 +256,8 @@
:markdown-docs-path=
"markdownDocsPath"
:quick-actions-docs-path=
"quickActionsDocsPath"
:add-spacing-classes=
"false"
:is-confidential-issue=
"isConfidentialIssue"
>
:is-confidential-issue=
"isConfidentialIssue"
ref=
"markdownField"
>
<textarea
id=
"note-body"
name=
"note[note]"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment