// Add multishop checkbox for id_category_default in admin products

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@14711 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
rMalie
2012-04-18 08:26:41 +00:00
parent e7fb87d4d2
commit d001741df3
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);