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
Léo-Paul Géneau
gitlab-ce
Commits
2bee8e7d
Commit
2bee8e7d
authored
Jul 11, 2016
by
Phil Hughes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Hide build spinner on canceled builds
Closes #19651
parent
7303de91
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
app/assets/javascripts/ci/build.coffee
app/assets/javascripts/ci/build.coffee
+3
-1
No files found.
app/assets/javascripts/ci/build.coffee
View file @
2bee8e7d
...
...
@@ -46,13 +46,15 @@ class @CiBuild
,
4000
getInitialBuildTrace
:
->
removeRefreshStatuses
=
[
'success'
,
'failed'
,
'canceled'
]
$
.
ajax
url
:
@
build_url
dataType
:
'json'
success
:
(
build_data
)
->
$
(
'.js-build-output'
).
html
build_data
.
trace_html
if
build_data
.
status
is
'success'
or
build_data
.
status
is
'failed'
if
removeRefreshStatuses
.
indexOf
(
build_data
.
status
)
>=
0
$
(
'.js-build-refresh'
).
remove
()
getBuildTrace
:
->
...
...
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