web/data/cubicweb.edition.js
changeset 2490 b0771c03f531
parent 2483 6e328fcc276c
child 2538 6f8ffaa2a700
--- 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