// small modification

This commit is contained in:
lLefevre
2011-12-05 15:36:26 +00:00
parent fe1a029637
commit fdade63ff8
+2 -2
View File
@@ -127,13 +127,13 @@ $(document).ready(function(){
$("#product-tab-content-wait").hide(); $("#product-tab-content-wait").hide();
var languages = new Array(); var languages = new Array();
if (id == "4-Combinations") if (btn_name == "Combinations")
{ {
$('#desc-product-new').hide(); $('#desc-product-new').hide();
$('#desc-product-newCombinaison').show(); $('#desc-product-newCombinaison').show();
populate_attrs(); populate_attrs();
} }
if (id == '7-Attachments') else if (btn_name == 'Attachments')
{ {
$("#addAttachment").live('click', function() { $("#addAttachment").live('click', function() {
return !$("#selectAttachment2 option:selected").remove().appendTo("#selectAttachment1"); return !$("#selectAttachment2 option:selected").remove().appendTo("#selectAttachment1");