From a2f56ab91aa4baba4751768015290c54c5b2b3dd Mon Sep 17 00:00:00 2001 From: joweecaquicla Date: Thu, 20 Aug 2020 21:27:56 +0800 Subject: [PATCH] magento/adobe-stock-integration#1387: Uncaught TypeError: Cannot read property 'complete' of undefined appears in dev console if save Previewed image as a new View and open this View on another page - modified function description --- .../Magento/Ui/view/base/web/js/grid/columns/image-preview.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/code/Magento/Ui/view/base/web/js/grid/columns/image-preview.js b/app/code/Magento/Ui/view/base/web/js/grid/columns/image-preview.js index 1e4ae9df7dc77..b561ce2e784b8 100644 --- a/app/code/Magento/Ui/view/base/web/js/grid/columns/image-preview.js +++ b/app/code/Magento/Ui/view/base/web/js/grid/columns/image-preview.js @@ -185,7 +185,7 @@ define([ }, /** - * Update opened image preview contents when the data provider is updated + * Update preview displayed record data from the new items data if the preview is expanded * * @param {Array} items */