// Add multishop checkbox for id_category_default in admin products

This commit is contained in:
rMalie
2012-04-18 08:26:41 +00:00
parent 92c520c42e
commit 9dd87e5200
2 changed files with 11 additions and 0 deletions
+8
View File
@@ -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);