mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-26 04:56:16 +10:00
Merge pull request #1440 from NARKOZ/patch-tree
don't load commit logs when viewing blob
This commit is contained in:
@@ -50,11 +50,12 @@
|
||||
history.pushState({ path: this.path }, '', "#{@history_path}");
|
||||
});
|
||||
|
||||
// Load last commit log for each file in tree
|
||||
$(window).load(function(){
|
||||
ajaxGet('#{@logs_path}');
|
||||
});
|
||||
|
||||
- unless tree.is_blob?
|
||||
:javascript
|
||||
// Load last commit log for each file in tree
|
||||
$(window).load(function(){
|
||||
ajaxGet('#{@logs_path}');
|
||||
});
|
||||
|
||||
- if params[:path] && request.xhr?
|
||||
:javascript
|
||||
|
||||
Reference in New Issue
Block a user