Merge pull request #20664 from woocommerce/fix/20659

Reveal attribute row when adding it.
This commit is contained in:
Claudiu Lodromanean 2018-07-03 10:14:13 -07:00 committed by GitHub
commit 4036e15cac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -320,7 +320,11 @@ jQuery( function( $ ) {
}
$( document.body ).trigger( 'wc-enhanced-select-init' );
attribute_row_indexes();
$attributes.find( '.woocommerce_attribute' ).last().find( 'h3' ).click();
$wrapper.unblock();
$( document.body ).trigger( 'woocommerce_added_attribute' );