alert('{/literal}{t escape=js}Please enter the name of this product.{/t}{literal}');
11
alert('{t escape=js}Please enter the name of this product.{/t}');
12
12
return false;
13
13
}
14
14
if (Validation.isFieldWhitespace('rank')) {
15
15
Validation.selectField('rank');
16
alert('{/literal}{t escape=js}Please enter the rank of this product.{/t}{literal}');
16
alert('{t escape=js}Please enter the rank of this product.{/t}');
17
17
return false;
18
18
}
19
19
return true;
22
22
function checkDelete()
23
23
{
24
24
if (!Validation.hasOneChecked('items[]')) {
25
alert('{/literal}{t escape=js}Please select at least one of the products.{/t}{literal}');
25
alert('{t escape=js}Please select at least one of the products.{/t}');
26
26
return false;
27
27
}
28
if (!confirm('{/literal}{t escape=js}WARNING: This action will remove the selected products permanently.{/t}{literal}\n{/literal}{t escape=js}Please click OK to confirm.{/t}{literal}')) {
28
if (!confirm('{t escape=js}WARNING: This action will remove the selected products permanently.{/t}\n{t escape=js}Please click OK to confirm.{/t}')) {