Fixed a regression introduced by revision [2856]: Avoid breaking pages with tabs when there is no BASE tag at all...

SVN:trunk[2947]
This commit is contained in:
Denis Flaven
2013-10-22 11:49:38 +00:00
parent 20ba6242e7
commit 0b7ed90e18
2 changed files with 2 additions and 2 deletions

View File

@@ -132,7 +132,7 @@ class ajax_page extends WebPage
// unless their URL is equal to the URL of the page...
if ($('base').length > 0)
{
$('div[id^=tabbedContent] ul li a').each(function() {
$('div[id^=tabbedContent] > ul > li > a').each(function() {
var sHash = location.hash;
var sCleanLocation = location.href.toString().replace(sHash, '').replace(/#$/, '');
$(this).attr("href", sCleanLocation+$(this).attr("href"));