homeslider stores slider about multistore with virtual uri

This commit is contained in:
Daniele Giachino
2013-10-28 14:09:35 +01:00
parent 03ad842697
commit c84689ec71
+1 -1
View File
@@ -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() {