comparison rhodecode/templates/files/files_source.html @ 3003:adf8ee7b8f2a beta

fire tooltips after loading the history
author Marcin Kuzminski <marcin@python-works.com>
date Tue, 13 Nov 2012 23:52:14 +0100
parents 37c7abd34d44
children 685ebc84c2e9
comparison
equal deleted inserted replaced
3002:dec78aee1d53 3003:adf8ee7b8f2a
101 YUE.on('hlcode', 'mouseup', getSelectionLink); 101 YUE.on('hlcode', 'mouseup', getSelectionLink);
102 102
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 });
110 112
111 </script> 113 </script>