Skip to content

Commit

Permalink
fix: save product attribute correctly is fixed #703 (#704)
Browse files Browse the repository at this point in the history
  • Loading branch information
saimonh3 authored and sabbir1991 committed Dec 9, 2019
1 parent 766f3fa commit 19ce0b0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion assets/src/js/product-editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -432,9 +432,10 @@

$parent.fadeOut( 300, function() {
if ( $parent.is( '.taxonomy' ) ) {
$parent.find( 'select, input[type=text]' ).val( '' );
$( 'select.dokan_attribute_taxonomy' ).find( 'option[value="' + $parent.data( 'taxonomy' ) + '"]' ).removeAttr( 'disabled' );
}
$(this).remove();

Dokan_Editor.attribute.reArrangeAttribute();
});
}
Expand Down

0 comments on commit 19ce0b0

Please sign in to comment.