Commit 2f0223f2 authored by Piotr Gawron's avatar Piotr Gawron

error message improved

parent d7020eae
......@@ -292,7 +292,7 @@ AddOverlayDialog.prototype.open = function () {
var errorMessage = JSON.parse(error.content);
GuiConnector.alert("Problematic input: <br/>" + errorMessage.reason);
} else if (error instanceof SecurityError) {
GuiConnector.alert("You cannot add more overlays");
GuiConnector.alert("You cannot add more overlays, Custom Overlay limit is reached.");
} else {
GuiConnector.alert(error);
}
......
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