From c84689ec7110ab52174cbe075e8d66e457810432 Mon Sep 17 00:00:00 2001 From: Daniele Giachino Date: Mon, 28 Oct 2013 14:09:35 +0100 Subject: [PATCH] homeslider stores slider about multistore with virtual uri --- modules/homeslider/homeslider.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/homeslider/homeslider.php b/modules/homeslider/homeslider.php index 3865e0531..2596d04a5 100644 --- a/modules/homeslider/homeslider.php +++ b/modules/homeslider/homeslider.php @@ -705,7 +705,7 @@ class HomeSlider extends Module cursor: "move", update: function() { var order = $(this).sortable("serialize") + "&action=updateSlidesPosition"; - $.post("'._PS_BASE_URL_.__PS_BASE_URI__.'modules/'.$this->name.'/ajax_'.$this->name.'.php?secure_key='.$this->secure_key.'", order); + $.post("'.$this->context->shop->physical_uri.$this->context->shop->virtual_uri.'modules/'.$this->name.'/ajax_'.$this->name.'.php?secure_key='.$this->secure_key.'", order); } }); $mySlides.hover(function() {