From a45b1cc66865cd7def0c8abcc96c8f4ea4164473 Mon Sep 17 00:00:00 2001 From: dMetzger Date: Tue, 31 Jul 2012 08:43:21 +0000 Subject: [PATCH] [-] MO : blockcart retrocompatibility --- modules/blockcart/ajax-cart.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/blockcart/ajax-cart.js b/modules/blockcart/ajax-cart.js index c71f5e95d..7737c3f39 100644 --- a/modules/blockcart/ajax-cart.js +++ b/modules/blockcart/ajax-cart.js @@ -24,6 +24,9 @@ * International Registered Trademark & Property of PrestaShop SA */ +// Retrocompatibility with 1.4 +if (typeof baseUri === "undefined") + baseUri = baseDir; //JS Object : update the cart by ajax actions var ajaxCart = {