# HG changeset patch # User Aurelien Campeas # Date 1248442214 -7200 # Node ID b0771c03f531d9f4e437a04e4e51054f2044d5c5 # Parent cd007fc4f2ea45aba72732c1fdd7b92d52038162 [reledit] do NOT peruse the likely ?vid=edition part diff -r cd007fc4f2ea -r b0771c03f531 web/data/cubicweb.edition.js --- a/web/data/cubicweb.edition.js Fri Jul 24 15:28:03 2009 +0200 +++ b/web/data/cubicweb.edition.js Fri Jul 24 15:30:14 2009 +0200 @@ -477,7 +477,7 @@ d.addCallback(function (result, req) { handleFormValidationResponse(divid+'-form', noop, noop, result); if (reload) { - document.location.href = result[1]; + document.location.href = result[1].split('?')[0]; } else { var fieldview = getNode('value-' + divid); // XXX using innerHTML is very fragile and won't work if