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

error message improved

parent d7020eae
No related branches found
No related tags found
2 merge requests!573Merge 12.1.5 into master,!572Resolve "disable "Add overlay" button or improve error message `403` when number of custom layout is greater equal `CUSTOM_LAYOUTS`"
......@@ -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);
}
......
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