// Fix bug with checkbox and multishop

This commit is contained in:
rMalie
2012-05-14 14:24:48 +00:00
parent 09131f1ca8
commit 0580bb4f44
2 changed files with 3 additions and 2 deletions
@@ -71,7 +71,7 @@
var id_attribute_group = $('#id_attribute_group').val();
$('.input_shop').each(function(k, item)
{
var id_shop = $(item).val();
var id_shop = $(item).attr('shop_id');
if (typeof shop_associations[id_attribute_group] != 'undefined' && $.inArray(id_shop, shop_associations[id_attribute_group]) > -1)
$(item).attr('disabled', false);
else