diff --git a/admin-dev/themes/default/template/controllers/attributes/helpers/form/form.tpl b/admin-dev/themes/default/template/controllers/attributes/helpers/form/form.tpl index 571ecfe9e..b321b7ba5 100644 --- a/admin-dev/themes/default/template/controllers/attributes/helpers/form/form.tpl +++ b/admin-dev/themes/default/template/controllers/attributes/helpers/form/form.tpl @@ -69,10 +69,10 @@ var changeAssociationGroup = function() { var id_attribute_group = $('#id_attribute_group').val(); - $('.input_shop_group').each(function(k, item) + $('.input_shop').each(function(k, item) { - var id_shop_group = $(item).val(); - if (typeof shop_associations[id_attribute_group] != 'undefined' && $.inArray(id_shop_group, shop_associations[id_attribute_group]) > -1) + var id_shop = $(item).val(); + if (typeof shop_associations[id_attribute_group] != 'undefined' && $.inArray(id_shop, shop_associations[id_attribute_group]) > -1) $(item).attr('disabled', false); else { diff --git a/admin-dev/themes/default/template/helpers/form/assoshop.tpl b/admin-dev/themes/default/template/helpers/form/assoshop.tpl index 8331ea99f..d0d369eb8 100644 --- a/admin-dev/themes/default/template/helpers/form/assoshop.tpl +++ b/admin-dev/themes/default/template/helpers/form/assoshop.tpl @@ -114,7 +114,7 @@ function check_all_shop() {