// small js fixes

This commit is contained in:
tDidierjean
2012-05-11 13:39:08 +00:00
parent 002ed831db
commit cd54f3f8df
2 changed files with 10 additions and 38 deletions
+5 -5
View File
@@ -299,7 +299,7 @@ product_tabs['Combinations'] = new function(){
/* Check combination images */
if (typeof(combination_images[id_product_attribute]) != 'undefined')
for (i = 0; i < combination_images[id_product_attribute].length; i++)
$('#id_image_attr_' + combination_images[id_product_attribute][i]).attr('checked', 'checked');
$('#id_image_attr_' + combination_images[id_product_attribute][i]).attr('checked', true);
check_impact();
check_weight_impact();
check_unit_impact();
@@ -1185,7 +1185,7 @@ product_tabs['Suppliers'] = new function(){
{
if (item.is(':checked'))
{
item.attr("checked", "");
item.removeAttr("checked");
default_is_ok = false;
}
}
@@ -1203,7 +1203,7 @@ product_tabs['Suppliers'] = new function(){
if (item.is(':disabled') == false)
{
item.attr("checked", "checked");
item.attr("checked", true);
default_is_ok = true;
}
break;
@@ -1328,11 +1328,11 @@ product_tabs['Warehouses'] = new function(){
if (item.is(':checked'))
{
item.attr("checked", "");
item.removeAttr("checked");
}
else
{
item.attr("checked", "checked");
item.attr("checked", true);
}
}
});