// Fix attribute values creation in multishop #PSCFV-2313

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@15264 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
rMalie
2012-05-14 10:22:51 +00:00
parent dea9b17296
commit f3ad820a08
3 changed files with 6 additions and 5 deletions
@@ -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
{
@@ -114,7 +114,7 @@ function check_all_shop() {
<label class="child">
<input class="input_shop"
type="checkbox"
value="{$groupID}"
value="{$shopID}"
name="checkBoxShopAsso_{$table}[{$form_id}][{$shopID}]"
id="checkedBox_{$shopID}"
{if $checked} checked="checked"{/if} />