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 e8f157c commit aae79daCopy full SHA for aae79da
app/code/Magento/ConfigurableProduct/view/adminhtml/web/js/variations/steps/bulk.js
@@ -381,6 +381,7 @@ define([
381
*/
382
bindGalleries: function () {
383
var self = this; // Save the correct context of 'this'
384
+
385
$('[data-role=bulk-step] [data-role=gallery]').each(function (index, element) {
386
var gallery = $(element),
387
uploadInput = $(gallery.find('.uploader'))[0],
@@ -469,8 +470,9 @@ define([
469
470
maxHeight: self.options.maxHeight,
471
quality: 0.92,
472
beforeDraw() {
- if (!allowedResize)
473
+ if (!allowedResize) {
474
this.abort();
475
+ }
476
}
477
});
478
0 commit comments