[-] BO : #PSTEST-15 : translations

This commit is contained in:
lLefevre committed 2011-12-16 14:44:57 +00:00
1 parent 968b4abedd
commit c642a8b3c7
4 files changed
+13 -5

No files matched your search

+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>')