From 58cfe1b6cb70d714961922b031a737a69e19d3bc Mon Sep 17 00:00:00 2001 From: Piotr Gawron <piotr.gawron@uni.lu> Date: Mon, 31 Jul 2017 11:03:21 +0200 Subject: [PATCH] error reporting fixed --- frontend-js/src/main/js/gui/export/GraphicsExportPanel.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend-js/src/main/js/gui/export/GraphicsExportPanel.js b/frontend-js/src/main/js/gui/export/GraphicsExportPanel.js index 777387b9d7..4e2f7103a8 100644 --- a/frontend-js/src/main/js/gui/export/GraphicsExportPanel.js +++ b/frontend-js/src/main/js/gui/export/GraphicsExportPanel.js @@ -146,7 +146,7 @@ GraphicsExportPanel.prototype._createDownloadButton = function() { handlerClass : self.getFormatHandler(), }).then(function(url) { return self.downloadFile(url); - }).then(null, GuiConnector.error); + }).then(null, GuiConnector.alert); }, }); downloadDiv.appendChild(button); -- GitLab