diff options
author | Marcin Kuzminski <marcin@python-works.com> | 2012-12-19 00:30:16 +0100 |
---|---|---|
committer | Marcin Kuzminski <marcin@python-works.com> | 2012-12-19 00:30:16 +0100 |
commit | d3cb9ce7bf6db98655a61dd7a91220d4c300c769 (patch) | |
tree | b012d59884afce9347711e5d578d54d868d51e90 | |
parent | 167302b0ac7605c1fa4ef5d055120b78653d9058 (diff) |
fix small issue with anchor autolinks
--HG--
branch : beta
-rw-r--r-- | rhodecode/templates/admin/users/user_edit_my_account.html | 5 | ||||
-rw-r--r-- | rhodecode/templates/journal/journal.html | 5 |
2 files changed, 8 insertions, 2 deletions
diff --git a/rhodecode/templates/admin/users/user_edit_my_account.html b/rhodecode/templates/admin/users/user_edit_my_account.html index 9d341ede..4c74d651 100644 --- a/rhodecode/templates/admin/users/user_edit_my_account.html +++ b/rhodecode/templates/admin/users/user_edit_my_account.html @@ -171,7 +171,10 @@ var url = location.href.split('#'); if (url[1]) { //We have a hash var tabHash = url[1]; - tabs[tabHash](); + var func = tabs[tabHash] + if (func){ + func(); + } } // main table sorting diff --git a/rhodecode/templates/journal/journal.html b/rhodecode/templates/journal/journal.html index 0d41db06..dd9db024 100644 --- a/rhodecode/templates/journal/journal.html +++ b/rhodecode/templates/journal/journal.html @@ -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){ |