From ac9aadcdf385fbd86d897c67117049ca8515d38b Mon Sep 17 00:00:00 2001 From: Rodney Figaro Date: Mon, 22 Aug 2016 10:30:03 +0200 Subject: [PATCH] fix js code + texts in english --- adm/tabs/AdminInvoices.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/adm/tabs/AdminInvoices.php b/adm/tabs/AdminInvoices.php index 9c811dee..8a33345c 100755 --- a/adm/tabs/AdminInvoices.php +++ b/adm/tabs/AdminInvoices.php @@ -181,7 +181,7 @@ class AdminInvoices extends AdminTab */ echo ' - + @@ -329,11 +329,11 @@ class AdminInvoices extends AdminTab } }); - $("input[name=resetPrintM2Plus").click(function() { + $("input[name=resetPrintM2Plus]").click(function() { var haveChecked = $("input[name=\'multi2[]\']:checked").length>0; - if (haveChecked && confirm(\'Êtes-vous sûr de vouloir tout désélectionner ?\')) { + if (haveChecked && confirm(\''.$this->l("Are you sure to unselect all ?").'\')) { $("input[name=\'multi2[]\']").each(function() { $(this).attr(\'checked\', false); });