Skip to content

Commit a214098

Browse files
author
Sergey Semenov
committed
MAGETWO-39086: Product Options' details are missed while adding to Wish List
1 parent 6af0cbc commit a214098

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

app/code/Magento/Wishlist/view/frontend/web/js/add-to-wishlist.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,6 @@ define([
5151
return;
5252
}
5353
if ($(element).is('input[type=file]') && $(element).val()) {
54-
var hidden = $('input[name=' + $(element).attr('name') + '_action]');
55-
dataToAdd = $.extend({}, dataToAdd, self._getElementData(hidden));
5654
isFileUploaded = true;
5755
}
5856
});

0 commit comments

Comments
 (0)