Redirect after checkout fixed

This commit is contained in:
4Giedrius committed 2014-11-26 16:20:41 +02:00
1 parent 7d88ce7141
commit 5ea47fb163
1 file changed
+1 -1
@@ -317,7 +317,7 @@
function onAfterCartCheckout(result)
{
if(result.invoice_hash) {
bb.redirect('{{"invoice"|link}}' + '/' + result.invoice_hash + '?auto_redirect=1');
bb.redirect('{{"invoice"|link}}' + '/' + result.invoice_hash + '&auto_redirect=1');
} else {
bb.redirect('{{"order/service/manage"|link}}' + '/' + result.order_id );
}