summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/dispatcher.js
diff options
context:
space:
mode:
authorMike Greiling <mike@pixelcog.com>2017-08-07 23:03:27 -0500
committerMike Greiling <mike@pixelcog.com>2017-08-08 06:22:14 -0500
commit3d08e47239ffd00856507b73f1ce36ffa1e05256 (patch)
tree13d44f5eb1eb930f79c9ada16c3bfc1bc282dd9c /app/assets/javascripts/dispatcher.js
parent6f555990aa7002f45ec713ed0811f0c845245459 (diff)
downloadgitlab-ce-3d08e47239ffd00856507b73f1ce36ffa1e05256.tar.gz
fix commit metadata in project:show page
Diffstat (limited to 'app/assets/javascripts/dispatcher.js')
-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 265e304b957..745c3e892f3 100644
--- a/app/assets/javascripts/dispatcher.js
+++ b/app/assets/javascripts/dispatcher.js
@@ -343,6 +343,9 @@ import UserFeatureHelper from './helpers/user_feature_helper';
if ($('#tree-slider').length) new TreeView();
if ($('.blob-viewer').length) new BlobViewer();
+ $('#tree-slider').waitForImages(function() {
+ gl.utils.ajaxGet(document.querySelector('.js-tree-content').dataset.logsPath);
+ });
break;
case 'projects:edit':
setupProjectEdit();