Skip to content

Commit

Permalink
magento#18348 - In admin, last swatch option set to default upon save
Browse files Browse the repository at this point in the history
  • Loading branch information
RostislavS committed Nov 2, 2018
1 parent 468f245 commit 4c13ad7
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -439,6 +439,9 @@ define([

activePanel.find('table input')
.each(function () {
if ($(this).is(':radio') && !$(this).prop("checked")) {
return;
}
swatchValues.push(this.name + '=' + $(this).val());
});

Expand Down

0 comments on commit 4c13ad7

Please sign in to comment.