mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-19 08:38:45 +02:00
Bug fix: "shortcut" actions were not perserving the current tab. Fixed.
SVN:trunk[1480]
This commit is contained in:
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user