aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcin Kuzminski <marcin@python-works.com>2012-12-19 00:30:16 +0100
committerMarcin Kuzminski <marcin@python-works.com>2012-12-19 00:30:16 +0100
commitd3cb9ce7bf6db98655a61dd7a91220d4c300c769 (patch)
treeb012d59884afce9347711e5d578d54d868d51e90
parent167302b0ac7605c1fa4ef5d055120b78653d9058 (diff)
fix small issue with anchor autolinks
--HG-- branch : beta
-rw-r--r--rhodecode/templates/admin/users/user_edit_my_account.html5
-rw-r--r--rhodecode/templates/journal/journal.html5
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){