Bug fix: "shortcut" actions were not perserving the current tab. Fixed.

SVN:trunk[1480]
This commit is contained in:
Denis Flaven
2011-08-19 16:08:27 +00:00
parent e2aa3cc69f
commit 02fc610a18

View File

@@ -288,7 +288,20 @@ EOF
}
});
});
// Shortcut menu actions
$('.actions_button a').click( function() {
aMatches = /#(.*)$/.exec(window.location.href);
if (aMatches != null)
{
currentHash = aMatches[1];
if ( /#(.*)$/.test(this.href))
{
this.href = this.href.replace(/#(.*)$/, '#'+currentHash);
}
}
});
// End of Tabs handling
$("table.listResults").tableHover(); // hover tables
$(".date-pick").datepicker({