User portal as a module: the Cancel button (ticket creation wizard) was not working

SVN:trunk[3705]
This commit is contained in:
Romain Quetiez
2015-09-01 09:46:08 +00:00
parent 4cfcb60e59
commit 4674658cfa

View File

@@ -260,7 +260,7 @@ EOF
{
var form = $('FORM');
form.unbind('submit'); // De-activate validation
window.location.href = '?operation=';
window.location.href = window.location.href.replace(/[&?]operation=[^&]*/, '');
return false;
}