Skip to content

Commit

Permalink
magento/adobe-stock-integration#1387: Uncaught TypeError: Cannot read…
Browse files Browse the repository at this point in the history
… property 'complete' of undefined appears in dev console if save Previewed image as a new View and open this View on another page - requested modifications
  • Loading branch information
joweecaquicla committed Aug 19, 2020
1 parent 61f5cbe commit e2e6b3e
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ define([
},

/**
* Update image data
* Update image data when image preview is opened
*/
updateImageData: function () {
var img = $(this.previewImageSelector + ' img');
Expand All @@ -184,9 +184,9 @@ define([
},

/**
* Update displayed record
* Update opened image preview contents when the data provider is updated
*
* @param items
* @param {Array} items
*/
updateDisplayedRecord: function (items) {
if (!_.isNull(this.visibleRecord())) {
Expand Down

0 comments on commit e2e6b3e

Please sign in to comment.