diff options
author | vipsoft <vipsoft@59fd770c-687e-43c8-a1e3-f5a4ff64c105> | 2009-09-09 18:38:58 +0400 |
---|---|---|
committer | vipsoft <vipsoft@59fd770c-687e-43c8-a1e3-f5a4ff64c105> | 2009-09-09 18:38:58 +0400 |
commit | f56493eaaa5b153a4959388f6e5931de23852ff8 (patch) | |
tree | 50ea6b0c51ac23c6920f907a0d62e682de08e9de /plugins/CoreHome/templates/broadcast.js | |
parent | b9c50cc7060bcfffa4775592ec3f5cd39d2c3bd9 (diff) |
fixes #975 - force reload (without hash) if response contains <title> tag
Diffstat (limited to 'plugins/CoreHome/templates/broadcast.js')
-rw-r--r-- | plugins/CoreHome/templates/broadcast.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/CoreHome/templates/broadcast.js b/plugins/CoreHome/templates/broadcast.js index 9d69ac7e67..dd8eacab47 100644 --- a/plugins/CoreHome/templates/broadcast.js +++ b/plugins/CoreHome/templates/broadcast.js @@ -164,6 +164,10 @@ broadcast.loadAjaxContent = function(urlAjax) function sectionLoaded(content) { + if(content.indexOf('<title>') != -1) { + window.location.href = window.location.search; + return; + } if(urlAjax == broadcast.lastUrlRequested) { $('#content').html( content ).show(); $('#loadingPiwik').hide(); |