fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
More fixes in Filebrowser.
[redakcja.git]
/
platforma
/
static
/
js
/
app.js
diff --git
a/platforma/static/js/app.js
b/platforma/static/js/app.js
index
ec19ee3
..
e870a38
100644
(file)
--- a/
platforma/static/js/app.js
+++ b/
platforma/static/js/app.js
@@
-198,6
+198,10
@@
function parseXHRError(response)
level = "warning";
}
level = "warning";
}
+ else if(json.reason == 'xml-non-valid') {
+ message = json.message;
+ level = "warning";
+ }
else {
message = json.message || json.reason || "Nieznany błąd :((";
level = "error";
else {
message = json.message || json.reason || "Nieznany błąd :((";
level = "error";