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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
b45b604d
Commit
b45b604d
authored
Jul 28, 2017
by
Filipa Lacerda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[ci skip] Move click handler to button instead of `li``
parent
c433f520
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
app/assets/javascripts/notes/components/issue_comment_form.vue
...ssets/javascripts/notes/components/issue_comment_form.vue
+10
-10
No files found.
app/assets/javascripts/notes/components/issue_comment_form.vue
View file @
b45b604d
...
...
@@ -195,7 +195,7 @@
<div
class=
"note-form-actions"
>
<div
class=
"pull-left btn-group append-right-10 comment-type-dropdown js-comment-type-dropdown droplab-dropdown"
>
<button
@
click=
"handleSave
()
"
@
click=
"handleSave"
:disabled=
"!note.length"
class=
"btn btn-nr btn-create comment-btn js-comment-button js-comment-submit-button"
type=
"button"
>
...
...
@@ -213,16 +213,17 @@
class=
"fa fa-caret-down toggle-icon"
>
</i>
</button>
<ul
class=
"note-type-dropdown dropdown-open-top dropdown-menu"
>
<li
:class=
"
{ 'droplab-item-selected': noteType === 'comment' }"
@click.prevent="setNoteType('comment')">
<li
:class=
"
{ 'droplab-item-selected': noteType === 'comment' }">
<button
type=
"button"
class=
"btn btn-transparent"
>
class=
"btn btn-transparent"
@
click.prevent=
"setNoteType('comment')"
>
<i
aria-hidden=
"true"
class=
"fa fa-check icon"
></i>
class=
"fa fa-check icon"
>
</i>
<div
class=
"description"
>
<strong>
Comment
</strong>
<p>
...
...
@@ -232,12 +233,11 @@
</button>
</li>
<li
class=
"divider droplab-item-ignore"
></li>
<li
:class=
"
{ 'droplab-item-selected': noteType === 'discussion' }"
@click.prevent="setNoteType('discussion')">
<li
:class=
"
{ 'droplab-item-selected': noteType === 'discussion' }">
<button
type=
"button"
class=
"btn btn-transparent"
>
class=
"btn btn-transparent"
@
click.prevent=
"setNoteType('discussion')"
>
<i
aria-hidden=
"true"
class=
"fa fa-check icon"
>
...
...
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