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:
Gompa
2025-04-02 20:12:25 +02:00
committed by GitHub
parent 693faa03fc
commit 00ed339971

View File

@@ -264,6 +264,8 @@ function showImageDownloader(page, imageType) {
).then(function () {
hasChanges = true;
reload(page);
}).catch(function () {
// image downloader closed
});
});
}