summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorTim Zallmann <tzallmann@gitlab.com>2017-08-14 10:33:07 +0000
committerTim Zallmann <tzallmann@gitlab.com>2017-08-14 10:33:07 +0000
commitcccbb4be2741bc9cf4545537c5105409a1a5ebbf (patch)
treef111e7a2d5ff5ca136e1d8c577479165179eb5f9 /app
parent885314b48bcc51552609f7411d20b0789365a7f3 (diff)
parent7e5ac7114ca5540c5a9b6b6cd0f832c5f71794d2 (diff)
downloadgitlab-ce-cccbb4be2741bc9cf4545537c5105409a1a5ebbf.tar.gz
Merge branch '36133-project-overview-page-doesn-t-load-commit-metadata-for-repo-view' into 'master'
Resolve "Project overview page doesn't load commit metadata for repo view" Closes #36133 See merge request !13362
Diffstat (limited to 'app')
-rw-r--r--app/assets/javascripts/dispatcher.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/assets/javascripts/dispatcher.js b/app/assets/javascripts/dispatcher.js
index 8c5a4367440..de47485c9f2 100644
--- a/app/assets/javascripts/dispatcher.js
+++ b/app/assets/javascripts/dispatcher.js
@@ -347,6 +347,9 @@ import initChangesDropdown from './init_changes_dropdown';
if ($('#tree-slider').length) new TreeView();
if ($('.blob-viewer').length) new BlobViewer();
if ($('.project-show-activity').length) new gl.Activities();
+ $('#tree-slider').waitForImages(function() {
+ gl.utils.ajaxGet(document.querySelector('.js-tree-content').dataset.logsPath);
+ });
break;
case 'projects:edit':
setupProjectEdit();