mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-24 02:58:43 +02:00
Portal : Slightly changed the GoHome() function regexp to preserve additional parameters
SVN:trunk[4009]
This commit is contained in:
@@ -260,7 +260,7 @@ EOF
|
||||
{
|
||||
var form = $('FORM');
|
||||
form.unbind('submit'); // De-activate validation
|
||||
window.location.href = window.location.href.replace(/[&?]operation=[^&]*/, '');
|
||||
window.location.href = window.location.href.replace(/operation=[^&]*&?/, '');
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user