Small usability tweak for adding product attributes

This commit is contained in:
Geert De Deckere 2012-02-07 11:40:59 +01:00
parent c690414d25
commit c0068441bf
1 changed files with 2 additions and 1 deletions

View File

@ -570,7 +570,8 @@ jQuery( function($){
$('table.woocommerce_attributes tbody').append( $(thisrow) ); $('table.woocommerce_attributes tbody').append( $(thisrow) );
$(thisrow).show(); $(thisrow).show();
row_indexes(); row_indexes();
// Reset selected attribute in the list
$('select.attribute_taxonomy').val('');
} }
show_attribute_table(); show_attribute_table();