// Context part 26

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@7804 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
tDidierjean committed 2011-07-28 16:37:50 +00:00
1 parent 72de3384a7
commit d80c7b5ba8
18 files changed
+101 -115

No files matched your search

+2 -2
View File
@@ -30,12 +30,12 @@ if ( isset($_POST['ajax_blockcart_display']) || isset($_GET['ajax_blockcart_disp
{
if (Tools::getValue('ajax_blockcart_display') == 'collapse')
{
$cookie->ajax_blockcart_display = 'collapsed';
Context::getContext()->cookie->ajax_blockcart_display = 'collapsed';
die ('collapse status of the blockcart module updated in the cookie');
}
if (Tools::getValue('ajax_blockcart_display') == 'expand')
{
$cookie->ajax_blockcart_display = 'expanded';
Context::getContext()->cookie->ajax_blockcart_display = 'expanded';
die ('expand status of the blockcart module updated in the cookie');
}
die ('ERROR : bad status setted. Only collapse or expand status of the blockcart module are available.');