summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/dispatcher.js
diff options
context:
space:
mode:
authorJames Edwards-Jones <jedwardsjones@gitlab.com>2017-04-06 21:35:01 +0100
committerJames Edwards-Jones <jedwardsjones@gitlab.com>2017-04-06 21:35:01 +0100
commit55811ac9900af81fb980c3649ee1c9aadedb3a44 (patch)
tree437628918788ef02c879f59e64d109c1283fde27 /app/assets/javascripts/dispatcher.js
parent902054db59e02cb14c28ecffd9dff95994dbb01f (diff)
parentc3af43c3d263278bd39917c37a87022f8dc44e95 (diff)
downloadgitlab-ce-55811ac9900af81fb980c3649ee1c9aadedb3a44.tar.gz
Merge branch 'last-green-master' into 18471-restrict-tag-pushes-protected-tags
Diffstat (limited to 'app/assets/javascripts/dispatcher.js')
-rw-r--r--app/assets/javascripts/dispatcher.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/assets/javascripts/dispatcher.js b/app/assets/javascripts/dispatcher.js
index 2e7c9bc2689..d1c07891675 100644
--- a/app/assets/javascripts/dispatcher.js
+++ b/app/assets/javascripts/dispatcher.js
@@ -227,9 +227,11 @@ const ShortcutsBlob = require('./shortcuts_blob');
case 'projects:pipelines:builds':
case 'projects:pipelines:show':
const { controllerAction } = document.querySelector('.js-pipeline-container').dataset;
+ const pipelineStatusUrl = `${document.querySelector('.js-pipeline-tab-link a').getAttribute('href')}/status.json`;
new gl.Pipelines({
initTabs: true,
+ pipelineStatusUrl,
tabsOptions: {
action: controllerAction,
defaultAction: 'pipelines',