// fix update form.tpl in AdminCarriersController

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@9872 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
lLefevre
2011-11-03 21:54:05 +00:00
parent 491f946586
commit e5a66e4f95
3 changed files with 60 additions and 316 deletions
@@ -24,13 +24,14 @@
* International Registered Trademark & Property of PrestaShop SA
*}
{extends file="helper/form/form.tpl"}
{block name=script}
var attributesGroups = {ldelim}{$strAttributesGroups}{rdelim};
$('#id_attribute_group').change(function() {
var val = $(this).val();
if (attributesGroups[val])
$('#colorAttributeProperties').show();
else
$('#colorAttributeProperties').hide();
});
var attributesGroups = {ldelim}{$strAttributesGroups}{rdelim};
$('#id_attribute_group').change(function() {
var val = $(this).val();
if (attributesGroups[val])
$('#colorAttributeProperties').show();
else
$('#colorAttributeProperties').hide();
});
{/block}