diff options
author | Mike Greiling <mike@pixelcog.com> | 2017-08-07 23:03:27 -0500 |
---|---|---|
committer | Mike Greiling <mike@pixelcog.com> | 2017-08-08 06:22:14 -0500 |
commit | 3d08e47239ffd00856507b73f1ce36ffa1e05256 (patch) | |
tree | 13d44f5eb1eb930f79c9ada16c3bfc1bc282dd9c /app/assets/javascripts/dispatcher.js | |
parent | 6f555990aa7002f45ec713ed0811f0c845245459 (diff) | |
download | gitlab-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.js | 3 |
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(); |