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
Boxiang Sun
gitlab-ce
Commits
798f7db2
Commit
798f7db2
authored
Aug 17, 2013
by
Mike Bajur
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update flash message timeout to 5 seconds
parent
533ef87b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
app/assets/javascripts/main.js.coffee
app/assets/javascripts/main.js.coffee
+1
-1
No files found.
app/assets/javascripts/main.js.coffee
View file @
798f7db2
...
@@ -89,7 +89,7 @@ $ ->
...
@@ -89,7 +89,7 @@ $ ->
if
(
flash
=
$
(
".flash-container"
)).
length
>
0
if
(
flash
=
$
(
".flash-container"
)).
length
>
0
flash
.
click
->
$
(
@
).
fadeOut
()
flash
.
click
->
$
(
@
).
fadeOut
()
flash
.
show
()
flash
.
show
()
setTimeout
(
->
flash
.
fadeOut
()),
3
000
setTimeout
(
->
flash
.
fadeOut
()),
5
000
# Disable form buttons while a form is submitting
# Disable form buttons while a form is submitting
$
(
'body'
).
on
'ajax:complete, ajax:beforeSend, submit'
,
'form'
,
(
e
)
->
$
(
'body'
).
on
'ajax:complete, ajax:beforeSend, submit'
,
'form'
,
(
e
)
->
...
...
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