We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 89b4e2e commit 596503aCopy full SHA for 596503a
app/code/Magento/Catalog/view/adminhtml/web/js/product-gallery.js
@@ -355,6 +355,11 @@ define([
355
imageData.isRemoved = true;
356
$imageContainer.addClass('removed').hide().find('.is-removed').val(1);
357
358
+ $.each(this.options.types, $.proxy(function (index, type) {
359
+ this.element.find('.image-' + type.code).val('no_selection');
360
+ this.options.types[index].value = 'no_selection';
361
+ }, this));
362
+
363
this._contentUpdated();
364
},
365
0 commit comments