Admin variations - Close variations after save #6995

This commit is contained in:
Claudio Sanches 2015-07-08 18:59:51 -03:00
parent 042a6644e2
commit c1f17777a6
2 changed files with 4 additions and 2 deletions

View File

@ -406,7 +406,9 @@ jQuery( function( $ ) {
* @return {bool}
*/
save_variations: function() {
wc_meta_boxes_product_variations_ajax.save_changes();
wc_meta_boxes_product_variations_ajax.save_changes( function() {
$( '#variable_product_options .woocommerce_variations .wc-metabox-content' ).stop().slideUp();
});
return false;
},

File diff suppressed because one or more lines are too long