// Fix enable friendly url button generator on multishop

This commit is contained in:
Jerome Nadaud
2013-10-01 16:44:03 +02:00
parent 55a5c69d40
commit 99a4ffe583
2 changed files with 7 additions and 3 deletions
+5 -1
View File
@@ -1553,6 +1553,10 @@ var ProductMultishop = new function()
$('#attribute_unity').attr('disabled', checked);
break;
case 'seo_friendly_url':
$('#'+id).attr('disabled', checked);
$('#generate-friendly-url').attr('disabled', checked);
default :
$('#'+id).attr('disabled', checked);
break;
@@ -1592,7 +1596,7 @@ var ProductMultishop = new function()
ProductMultishop.checkField($('input[name=\'multishop_check[meta_title]['+v.id_lang+']\']').prop('checked'), 'meta_title_'+v.id_lang);
ProductMultishop.checkField($('input[name=\'multishop_check[meta_description]['+v.id_lang+']\']').prop('checked'), 'meta_description_'+v.id_lang);
ProductMultishop.checkField($('input[name=\'multishop_check[meta_keywords]['+v.id_lang+']\']').prop('checked'), 'meta_keywords_'+v.id_lang);
ProductMultishop.checkField($('input[name=\'multishop_check[link_rewrite]['+v.id_lang+']\']').prop('checked'), 'link_rewrite_'+v.id_lang);
ProductMultishop.checkField($('input[name=\'multishop_check[link_rewrite]['+v.id_lang+']\']').prop('checked'), 'link_rewrite_'+v.id_lang, 'seo_friendly_url');
});
};