// fix #PSCFV-2176 js error

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@15078 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
tDidierjean
2012-05-07 08:44:30 +00:00
parent cb3850bd9f
commit e8bedcf49b
2 changed files with 2 additions and 3 deletions
@@ -2040,7 +2040,7 @@ class AdminProductsControllerCore extends AdminController
'href' => $this->context->link->getAdminLink('AdminProducts').'&id_product='.(int)$product->id.'&deleteproduct',
'desc' => $this->l('Delete this product'),
'confirm' => 1,
'js' => 'if (confirm('.$this->l('\'Delete product?\'').')){return true;}else{event.preventDefault();}'
'js' => 'if (confirm(\''.$this->l('Delete product?').'\')){return true;}else{event.preventDefault();}'
);
// adding button for duplicate this product