[-] 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:
@@ -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>')
|
||||
|
||||
Reference in New Issue
Block a user