// fix #PSCFV-2176 js error

This commit is contained in:
tDidierjean
2012-05-07 08:44:30 +00:00
parent 7d66c4f266
commit 6b4175b869
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