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

problem with generating overlay is shown as a message to the user

parent 2439912e
No related branches found
No related tags found
1 merge request!91Resolve "Simple upload"
...@@ -161,9 +161,9 @@ OverlayPanel.prototype.createOverlayRow = function(overlay, checked) { ...@@ -161,9 +161,9 @@ OverlayPanel.prototype.createOverlayRow = function(overlay, checked) {
checkbox.checked = checked; checkbox.checked = checked;
checkbox.onclick = function() { checkbox.onclick = function() {
if (this.checked) { if (this.checked) {
return self.getMap().openDataOverlay(overlay.getId()); return self.getMap().openDataOverlay(overlay.getId()).then(null, GuiConnector.alert);
} else { } else {
return self.getMap().removeSelectedLayout(overlay.getId()); return self.getMap().removeSelectedLayout(overlay.getId()).then(null, GuiConnector.alert);
} }
}; };
viewTd.appendChild(checkbox); viewTd.appendChild(checkbox);
......
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