Merge pull request #898 from Jacky75/blulab20131028-slider-virtualuri

[-] MO : homeslider stores slider about multistore with virtual uri
This commit is contained in:
Gregory Roussac committed 2013-10-28 06:53:41 -07:00
commit 12a257db7a
1 file changed
+1 -1
+1 -1
View File
@@ -705,7 +705,7 @@ class HomeSlider extends Module
cursor: "move", cursor: "move",
update: function() { update: function() {
var order = $(this).sortable("serialize") + "&action=updateSlidesPosition"; 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() { $mySlides.hover(function() {