invoked the pipelines class when builds are dynamically loaded and dispatched for commit builds page
This commit is contained in:
parent
cb38290aba
commit
3ea3a6a152
3 changed files with 5 additions and 0 deletions
|
@ -17,6 +17,7 @@ Please view this file on the master branch, on stable branches it's out of date.
|
|||
## 8.13.1 (unreleased)
|
||||
- Fix error in generating labels
|
||||
- Fix reply-by-email not working due to queue name mismatch
|
||||
- Fixed hidden pipeline graph on commit and MR page !6895
|
||||
- Expire and build repository cache after project import
|
||||
- Fix 404 for group pages when GitLab setup uses relative url
|
||||
- Simpler arguments passed to named_route on toggle_award_url helper method
|
||||
|
|
|
@ -117,6 +117,9 @@
|
|||
new ZenMode();
|
||||
shortcut_handler = new ShortcutsNavigation();
|
||||
break;
|
||||
case 'projects:commit:builds':
|
||||
new gl.Pipelines();
|
||||
break;
|
||||
case 'projects:commits:show':
|
||||
case 'projects:activity':
|
||||
shortcut_handler = new ShortcutsNavigation();
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue