Explorar el Código

Portal : Slightly changed the GoHome() function regexp to preserve additional parameters

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@4009 a333f486-631f-4898-b8df-5754b55c2be0
glajarige hace 9 años
padre
commit
7bfd08aa33
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      application/portalwebpage.class.inc.php

+ 1 - 1
application/portalwebpage.class.inc.php

@@ -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;
 	}