From 3ab8e13157008752c5a8c3a87ab01e2da3c8baba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20FRANCE?= Date: Sat, 18 Oct 2014 18:51:25 +0200 Subject: [PATCH] Update list.php --- htdocs/product/list.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/product/list.php b/htdocs/product/list.php index 7e817d69725..e77115eb72f 100644 --- a/htdocs/product/list.php +++ b/htdocs/product/list.php @@ -512,7 +512,7 @@ else // Status (to sell) print ''; if (! empty($conf->use_javascript_ajax) && $user->rights->produit->creer) { - print ajax_object_onoff($product_static, 'status'); + print ajax_object_onoff($product_static, 'status', 'ProductStatusOnSell', 'ProductStatusNotOnSell'); } else { print $product_static->LibStatut($objp->tosell,5,0); } @@ -521,7 +521,7 @@ else // Status (to buy) print ''; if (! empty($conf->use_javascript_ajax) && $user->rights->produit->creer) { - print ajax_object_onoff($product_static, 'status_buy'); + print ajax_object_onoff($product_static, 'status_buy', 'ProductStatusOnBuy', 'ProductStatusNotOnBuy'); } else { print $product_static->LibStatut($objp->tobuy,5,1); }