[+] BO: Add Jquery alerts for nice alert box

This commit is contained in:
rMalie
2011-12-28 14:18:20 +00:00
parent 29f8448a80
commit 490a5cff46
21 changed files with 342 additions and 49 deletions
+2 -2
View File
@@ -107,7 +107,7 @@
if ($(this).attr('name') == 'category_reduction['+$('[name="id_category"]:checked').val()+']')
{
exist = true;
alert('{l s='This category already exist for this group'}');
jAlert('{l s='This category already exist for this group'}');
return false;
}
@@ -137,7 +137,7 @@
//IE6 bug fix
if(error != 'indexOf')
errors += jsonData.errors[error] + "\n";
alert(errors);
jAlert(errors);
}
else
{