##// END OF EJS Templates
fire tooltips after loading the history
marcink -
r3003:adf8ee7b beta
parent child Browse files
Show More
@@ -101,7 +101,9 b' var callbacks = function(State){'
101 YUE.removeListener('load_node_history', 'click');
101 YUE.removeListener('load_node_history', 'click');
102 YUE.on('load_node_history', 'click', function(e){
102 YUE.on('load_node_history', 'click', function(e){
103 var _url = node_history_url.replace('__REV__',State.data.rev).replace('__FPATH__', State.data.f_path);
103 var _url = node_history_url.replace('__REV__',State.data.rev).replace('__FPATH__', State.data.f_path);
104 ypjax(_url, 'node_history', function(o){})
104 ypjax(_url, 'node_history', function(o){
105 tooltip_activate();
106 })
105 });
107 });
106 }
108 }
107 // Inform Google Analytics of the change
109 // Inform Google Analytics of the change
@@ -103,7 +103,9 b' YUE.onDOMReady(function(){'
103 //load history of file
103 //load history of file
104 YUE.on('load_node_history', 'click', function(e){
104 YUE.on('load_node_history', 'click', function(e){
105 var _url = node_history_url.replace('__REV__','${c.file_changeset.raw_id}').replace('__FPATH__', '${c.f_path}');
105 var _url = node_history_url.replace('__REV__','${c.file_changeset.raw_id}').replace('__FPATH__', '${c.f_path}');
106 ypjax(_url, 'node_history', function(o){})
106 ypjax(_url, 'node_history', function(o){
107 tooltip_activate();
108 })
107 });
109 });
108
110
109 });
111 });
General Comments 0
You need to be logged in to leave comments. Login now