// Add multishop checkbox for id_category_default in admin products
This commit is contained in:
@@ -712,6 +712,9 @@ product_tabs['Associations'] = new function(){
|
||||
$('#divAccessories').delegate('.delAccessory', 'click', function(){
|
||||
self.delAccessory($(this).attr('name'));
|
||||
});
|
||||
|
||||
if (display_multishop_checkboxes)
|
||||
multishopCheckAllProductFieldsAssociations();
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1535,6 +1538,11 @@ function multishopCheckAllProductFieldsSeo(checked)
|
||||
});
|
||||
}
|
||||
|
||||
function multishopCheckAllProductFieldsAssociations(checked)
|
||||
{
|
||||
multishopCheckProductField($('input[name=\'multishop_check[id_category_default]\']').attr('checked'), 'id_category_default');
|
||||
}
|
||||
|
||||
var tabs_manager = new ProductTabsManager();
|
||||
tabs_manager.setTabs(product_tabs);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user