[+] BO: Add Jquery alerts for nice alert box
This commit is contained in:
@@ -342,14 +342,14 @@ function add_attr()
|
||||
{
|
||||
var attr_group = $('#attribute_group option:selected');
|
||||
if (attr_group.val() == 0)
|
||||
return alert(msg_combination_1);
|
||||
return jAlert(msg_combination_1);
|
||||
|
||||
var attr_name = $('#attribute option:selected');
|
||||
if (attr_name.val() == 0)
|
||||
return alert(msg_combination_2);
|
||||
return jAlert(msg_combination_2);
|
||||
|
||||
if (attr_group.val() in storeUsedGroups)
|
||||
return alert(msg_combination_3);
|
||||
return jAlert(msg_combination_3);
|
||||
|
||||
storeUsedGroups[attr_group.val()] = true;
|
||||
$('<option></option>')
|
||||
|
||||
Reference in New Issue
Block a user