Mercurial > kallithea
changeset 3120:c69006a70e6b beta
fix small issue with anchor autolinks
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Wed, 19 Dec 2012 00:30:16 +0100 |
parents | 36b18edeca48 |
children | 3274ba9f1489 |
files | rhodecode/templates/admin/users/user_edit_my_account.html rhodecode/templates/journal/journal.html |
diffstat | 2 files changed, 8 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/rhodecode/templates/admin/users/user_edit_my_account.html Wed Dec 19 00:29:38 2012 +0100 +++ b/rhodecode/templates/admin/users/user_edit_my_account.html Wed Dec 19 00:30:16 2012 +0100 @@ -171,7 +171,10 @@ if (url[1]) { //We have a hash var tabHash = url[1]; - tabs[tabHash](); + var func = tabs[tabHash] + if (func){ + func(); + } } // main table sorting
--- a/rhodecode/templates/journal/journal.html Wed Dec 19 00:29:38 2012 +0100 +++ b/rhodecode/templates/journal/journal.html Wed Dec 19 00:30:16 2012 +0100 @@ -177,7 +177,10 @@ if (url[1]) { //We have a hash var tabHash = url[1]; - tabs[tabHash](); + var func = tabs[tabHash] + if (func){ + func(); + } } YUE.on('refresh','click',function(e){