From 9158cadf6cb531903923f80229fd6a2fb7291232 Mon Sep 17 00:00:00 2001 From: dMetzger Date: Wed, 1 Aug 2012 11:36:09 +0000 Subject: [PATCH] // Small fix git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@16642 b9a71923-0436-4b27-9f14-aed3839534dd --- modules/blockcart/ajax-cart.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/blockcart/ajax-cart.js b/modules/blockcart/ajax-cart.js index 7737c3f39..4e84f3bf1 100644 --- a/modules/blockcart/ajax-cart.js +++ b/modules/blockcart/ajax-cart.js @@ -25,7 +25,7 @@ */ // Retrocompatibility with 1.4 -if (typeof baseUri === "undefined") +if (typeof baseUri === "undefined" && typeof baseDir !== "undefined") baseUri = baseDir; //JS Object : update the cart by ajax actions