From 42b200b8700116cca72a2b3074083845d1c764e2 Mon Sep 17 00:00:00 2001 From: lLefevre Date: Mon, 5 Dec 2011 15:36:26 +0000 Subject: [PATCH] // small modification git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@10930 b9a71923-0436-4b27-9f14-aed3839534dd --- admin-dev/themes/template/products/form.tpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/admin-dev/themes/template/products/form.tpl b/admin-dev/themes/template/products/form.tpl index 3b1a68e63..3352c8d31 100644 --- a/admin-dev/themes/template/products/form.tpl +++ b/admin-dev/themes/template/products/form.tpl @@ -127,13 +127,13 @@ $(document).ready(function(){ $("#product-tab-content-wait").hide(); var languages = new Array(); - if (id == "4-Combinations") + if (btn_name == "Combinations") { $('#desc-product-new').hide(); $('#desc-product-newCombinaison').show(); populate_attrs(); } - if (id == '7-Attachments') + else if (btn_name == 'Attachments') { $("#addAttachment").live('click', function() { return !$("#selectAttachment2 option:selected").remove().appendTo("#selectAttachment1");