Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Bennett <lukeeeebennettplus@gmail.com>2016-10-14 20:05:48 +0300
committerAlfredo Sumaran <alfredo@gitlab.com>2016-10-24 21:20:37 +0300
commit3ea3a6a152c88325ca2fd1161a27b4a9e2d5ce51 (patch)
tree359848d75e3f45a13085a0693de73e3c71ccfcbc /app/assets/javascripts/merge_request_tabs.js
parentcb38290ababe43aca0c635fb87d3a38c4c5debcd (diff)
invoked the pipelines class when builds are dynamically loaded and dispatched for commit builds page
Diffstat (limited to 'app/assets/javascripts/merge_request_tabs.js')
-rw-r--r--app/assets/javascripts/merge_request_tabs.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/assets/javascripts/merge_request_tabs.js b/app/assets/javascripts/merge_request_tabs.js
index 9f28738e06b..3dde979185b 100644
--- a/app/assets/javascripts/merge_request_tabs.js
+++ b/app/assets/javascripts/merge_request_tabs.js
@@ -282,6 +282,7 @@
document.querySelector("div#builds").innerHTML = data.html;
gl.utils.localTimeAgo($('.js-timeago', 'div#builds'));
_this.buildsLoaded = true;
+ if (!this.pipelines) this.pipelines = new gl.Pipelines();
return _this.scrollToElement("#builds");
};
})(this)