Commit aa235ffc authored by Piotr Gawron's avatar Piotr Gawron
Browse files

downloading overlays didn't work from admin panel when project with different...

downloading overlays didn't work from admin panel when project with different id than default map was accessed
parent cef6c523
......@@ -436,7 +436,8 @@ EditProjectDialog.prototype._createOverlayTable = function () {
$(overlaysTable).on("click", "[name='downloadSource']", function () {
var button = this;
return self.getServerConnector().getOverlaySourceDownloadUrl({
overlayId: $(button).attr("data")
overlayId: $(button).attr("data"),
projectId:self.getProject().getProjectId()
}).then(function (url) {
return self.downloadFile(url);
}).then(null, GuiConnector.alert);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment