Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
9fb595eb
Commit
9fb595eb
authored
Sep 11, 2012
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1440 from NARKOZ/patch-tree
don't load commit logs when viewing blob
parents
1c08cb40
5a907126
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
app/views/refs/_tree.html.haml
app/views/refs/_tree.html.haml
+6
-5
No files found.
app/views/refs/_tree.html.haml
View file @
9fb595eb
...
...
@@ -50,12 +50,13 @@
history
.
pushState
({
path
:
this
.
path
},
''
,
"
#{
@history_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
$
(
window
).
unbind
(
'
popstate
'
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment