Fix imagedownloader Uncaught (in promise) when no changes are done (#6652)
* fix imagedownloader error when no changes are done with catch * Update src/components/imageeditor/imageeditor.js Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * Update src/components/imageeditor/imageeditor.js remove console.debug Co-authored-by: viown <48097677+viown@users.noreply.github.com> * Update src/components/imageeditor/imageeditor.js Co-authored-by: viown <48097677+viown@users.noreply.github.com> --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: viown <48097677+viown@users.noreply.github.com>
This commit is contained in:
@@ -264,6 +264,8 @@ function showImageDownloader(page, imageType) {
|
||||
).then(function () {
|
||||
hasChanges = true;
|
||||
reload(page);
|
||||
}).catch(function () {
|
||||
// image downloader closed
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user