From fdade63ff89c6cf1358c5981b1f607b8b10fdfd2 Mon Sep 17 00:00:00 2001 From: lLefevre Date: Mon, 5 Dec 2011 15:36:26 +0000 Subject: [PATCH] // small modification --- 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");