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
f9f27432
Commit
f9f27432
authored
Jan 15, 2017
by
Regis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
works in browsers without sourceCapabilities API
parent
eeadce82
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
app/assets/javascripts/vue_pipelines_index/stage.js.es6
app/assets/javascripts/vue_pipelines_index/stage.js.es6
+4
-1
No files found.
app/assets/javascripts/vue_pipelines_index/stage.js.es6
View file @
f9f27432
...
@@ -36,7 +36,10 @@
...
@@ -36,7 +36,10 @@
const related = e.relatedTarget;
const related = e.relatedTarget;
if (!related && e.sourceCapabilities) {
if (!related && e.sourceCapabilities) {
return this.clearBuilds();
return this.clearBuilds();
} else if (!related && !e.sourceCapabilities) {
} else if (!related && e.sourceCapabilities === null) {
return null;
} else if (!related && e.sourceCapabilities === undefined) {
this.request = false;
return null;
return null;
} else if (!related.parentElement) {
} else if (!related.parentElement) {
return this.clearBuilds();
return this.clearBuilds();
...
...
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