public
Description: The Git TextMate Bundle
Homepage: http://tim.theenchanter.com/
Clone URL: git://github.com/timcharper/git-tmbundle.git
this should really be "toggle_diff" - because we're toggling a diff for a 
log entry, not a log
timcharper (author)
Thu May 22 11:38:10 -0700 2008
commit  1549a865923abb728c0721189ec93e60f26719ff
tree    10bea930d0eb068d928c6095151c2d4c3aec7794
parent  05fbe153859a464d75e3da848671ddd7a8873707
...
1
2
3
 
4
5
6
...
1
2
 
3
4
5
6
0
@@ -1,6 +1,6 @@
0
 <div>
0
   <div class="infobox">
0
- <a href="javascript:toggle_log('<%= branch_name %>', '<%= log_entry[:rev] %>');" id="toggle_link_<%= log_entry[:rev] %>" class="expand_link">+</a>
0
+ <a href="javascript:toggle_diff('<%= branch_name %>', '<%= log_entry[:rev] %>');" id="toggle_link_<%= log_entry[:rev] %>" class="expand_link">+</a>
0
     <span style='float:left'>
0
       <strong><%= short_rev(log_entry[:rev]) %></strong>
0
       committed by
...
29
30
31
32
 
33
34
35
...
29
30
31
 
32
33
34
35
0
@@ -29,7 +29,7 @@ function set_log_visibility(branch, rev, state) {
0
   }
0
 }
0
 
0
-function toggle_log(branch, rev) {
0
+function toggle_diff(branch, rev) {
0
   e = detail_div_for(branch, rev);
0
   if (! e.readAttribute("loaded")) {
0
     e.update(dispatch({controller: 'diff', action: 'diff', branch: branch, revision: rev, git_path: e.readAttribute("git_path"), path: (e.readAttribute("path") || ""), layout: false}))

Comments

    No one has commented yet.