// reset id_product_attribute after cancel to editing a combination
This commit is contained in:
1 parent
359d3dad90
commit
70ada6b4c4
1 file changed
+3
@@ -214,7 +214,10 @@ product_tabs['Combinations'] = new function(){
|
|||||||
if ($('.process-icon-newCombination').hasClass('toolbar-new'))
|
if ($('.process-icon-newCombination').hasClass('toolbar-new'))
|
||||||
self.removeButtonCombination('add');
|
self.removeButtonCombination('add');
|
||||||
else
|
else
|
||||||
|
{
|
||||||
self.addButtonCombination('add');
|
self.addButtonCombination('add');
|
||||||
|
$('#id_product_attribute').val(0);
|
||||||
|
}
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user