[-] BO : #PSTEST-15 : translations

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11304 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
lLefevre
2011-12-16 14:44:57 +00:00
parent 8dbd57dd20
commit a45921e1ea
4 changed files with 13 additions and 5 deletions
+3 -3
View File
@@ -344,14 +344,14 @@ function add_attr()
{
var attr_group = $('#attribute_group option:selected');
if (attr_group.val() == 0)
return alert('Please choose a group');
return alert(msg_combination_1);
var attr_name = $('#attribute option:selected');
if (attr_name.val() == 0)
return alert('Please choose an attribute');
return alert(msg_combination_2);
if (attr_group.val() in storeUsedGroups)
return alert('You can only add one type of group per combination');
return alert(msg_combination_3);
storeUsedGroups[attr_group.val()] = true;
$('<option></option>')