From dd8085d99f1b6e5c92a43f51da430045a3660b6e Mon Sep 17 00:00:00 2001 From: dMetzger Date: Wed, 1 Aug 2012 11:36:09 +0000 Subject: [PATCH] // Small fix --- 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