Skip to content
Snippets Groups Projects
Commit b8f19372 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

show info window when uploading file

parent ae915bae
No related branches found
No related tags found
1 merge request!283Resolve "uploading of the map crash"
Pipeline #
......@@ -936,6 +936,7 @@ AddProjectDialog.prototype.onSaveClicked = function () {
if (converter !== null) {
parserClass = converter.handler;
}
GuiConnector.showProcessing("Uploading...");
return ServerConnector.uploadFile({filename: self._filename, content: self.getFileContent()});
}).then(function (file) {
var options = {
......@@ -956,6 +957,8 @@ AddProjectDialog.prototype.onSaveClicked = function () {
"zip-entries": self.getZipEntries()
};
return ServerConnector.addProject(options);
}).finally(function () {
GuiConnector.hideProcessing();
});
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment