Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
minerva
core
Commits
2f0223f2
Commit
2f0223f2
authored
Jan 10, 2019
by
Piotr Gawron
Browse files
error message improved
parent
d7020eae
Changes
1
Hide whitespace changes
Inline
Side-by-side
frontend-js/src/main/js/gui/AddOverlayDialog.js
View file @
2f0223f2
...
...
@@ -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
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment