aboutsummaryrefslogtreecommitdiff
path: root/web/app
diff options
context:
space:
mode:
Diffstat (limited to 'web/app')
-rw-r--r--web/app/Application.js7
1 files changed, 1 insertions, 6 deletions
diff --git a/web/app/Application.js b/web/app/Application.js
index 743f8b11..0c1367ef 100644
--- a/web/app/Application.js
+++ b/web/app/Application.js
@@ -119,12 +119,7 @@ Ext.define('Traccar.Application', {
if (Ext.isString(response)) {
Ext.Msg.alert(Strings.errorTitle, response);
} else if (response.responseText) {
- data = Ext.decode(response.responseText);
- if (data.details) {
- Ext.Msg.alert(Strings.errorTitle, data.details);
- } else {
- Ext.Msg.alert(Strings.errorTitle, data.message);
- }
+ Ext.Msg.alert(response.responseText);
} else if (response.statusText) {
Ext.Msg.alert(Strings.errorTitle, response.statusText);
} else {