BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
3f2f4bda
Commit
3f2f4bda
authored
Jul 31, 2016
by
Douwe Maan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove delay when hitting Reply... button on page with a lot of discussions
parent
957331bf
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
gfm_auto_complete.js
app/assets/javascripts/gfm_auto_complete.js
+2
-2
gl_form.js
app/assets/javascripts/gl_form.js
+1
-1
No files found.
app/assets/javascripts/gfm_auto_complete.js
View file @
3f2f4bda
...
...
@@ -47,8 +47,8 @@
}
}
},
setup
:
function
(
wrap
)
{
this
.
input
=
$
(
'.js-gfm-input'
);
setup
:
function
(
input
)
{
this
.
input
=
input
||
$
(
'.js-gfm-input'
);
this
.
destroyAtWho
();
this
.
setupAtWho
();
if
(
this
.
dataSource
)
{
...
...
app/assets/javascripts/gl_form.js
View file @
3f2f4bda
...
...
@@ -21,7 +21,7 @@
this
.
form
.
find
(
'.div-dropzone'
).
remove
();
this
.
form
.
addClass
(
'gfm-form'
);
disableButtonIfEmptyField
(
this
.
form
.
find
(
'.js-note-text'
),
this
.
form
.
find
(
'.js-comment-button'
));
GitLab
.
GfmAutoComplete
.
setup
();
GitLab
.
GfmAutoComplete
.
setup
(
this
.
form
.
find
(
'.js-gfm-input'
)
);
new
DropzoneInput
(
this
.
form
);
autosize
(
this
.
textarea
);
this
.
addEventListeners
();
...
...
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