Fix: Attributes on Edit Product page - "Select all" not working after "Select none" used
This commit is contained in:
parent
b3be8931d6
commit
6379089465
|
@ -355,7 +355,7 @@ jQuery( function( $ ) {
|
||||||
});
|
});
|
||||||
|
|
||||||
$( '.product_attributes' ).on( 'click', 'button.select_all_attributes', function() {
|
$( '.product_attributes' ).on( 'click', 'button.select_all_attributes', function() {
|
||||||
$( this ).closest( 'td' ).find( 'select option' ).attr( 'selected', 'selected' );
|
$( this ).closest( 'td' ).find( 'select option' ).prop( 'selected', 'selected' );
|
||||||
$( this ).closest( 'td' ).find( 'select' ).change();
|
$( this ).closest( 'td' ).find( 'select' ).change();
|
||||||
return false;
|
return false;
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue