Mercurial > kallithea
changeset 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 | dec78aee1d53 |
children | 3bfd5852c218 |
files | rhodecode/templates/files/files.html rhodecode/templates/files/files_source.html |
diffstat | 2 files changed, 6 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/rhodecode/templates/files/files.html Tue Nov 13 23:49:04 2012 +0100 +++ b/rhodecode/templates/files/files.html Tue Nov 13 23:52:14 2012 +0100 @@ -101,7 +101,9 @@ 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
--- a/rhodecode/templates/files/files_source.html Tue Nov 13 23:49:04 2012 +0100 +++ b/rhodecode/templates/files/files_source.html Tue Nov 13 23:52:14 2012 +0100 @@ -103,7 +103,9 @@ //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(); + }) }); });