Changeset - adf8ee7b8f2a
[Not reviewed]
beta
0 2 0
Marcin Kuzminski - 13 years ago 2012-11-13 23:52:14
marcin@python-works.com
fire tooltips after loading the history
2 files changed with 6 insertions and 2 deletions:
0 comments (0 inline, 0 general)
rhodecode/templates/files/files.html
Show inline comments
 
@@ -101,7 +101,9 @@ var callbacks = function(State){
 
      YUE.removeListener('load_node_history', 'click');
 
      YUE.on('load_node_history', 'click', function(e){
 
          var _url = node_history_url.replace('__REV__',State.data.rev).replace('__FPATH__', State.data.f_path);
 
          ypjax(_url, 'node_history', function(o){})
 
          ypjax(_url, 'node_history', function(o){
 
        	  tooltip_activate();
 
          })
 
      });
 
    }
 
    // Inform Google Analytics of the change
rhodecode/templates/files/files_source.html
Show inline comments
 
@@ -103,7 +103,9 @@ YUE.onDOMReady(function(){
 
    //load history of file
 
    YUE.on('load_node_history', 'click', function(e){
 
        var _url = node_history_url.replace('__REV__','${c.file_changeset.raw_id}').replace('__FPATH__', '${c.f_path}');
 
        ypjax(_url, 'node_history', function(o){})
 
        ypjax(_url, 'node_history', function(o){
 
        	tooltip_activate();
 
        })
 
    });    
 

	
 
   });
0 comments (0 inline, 0 general)