diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-11-11 11:28:40 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-11-11 11:28:40 +1300 |
commit | 248dba62a8b1bd493341f3b9257d2f7a0edc4194 (patch) | |
tree | db6bfed6e965f3091b85e4976d081e72f8b23b26 /web/app/Application.js | |
parent | fd67134ea7afa3056427179bf0a0572af51a864a (diff) | |
download | trackermap-server-248dba62a8b1bd493341f3b9257d2f7a0edc4194.tar.gz trackermap-server-248dba62a8b1bd493341f3b9257d2f7a0edc4194.tar.bz2 trackermap-server-248dba62a8b1bd493341f3b9257d2f7a0edc4194.zip |
Handle HTTP connection errors
Diffstat (limited to 'web/app/Application.js')
-rw-r--r-- | web/app/Application.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/app/Application.js b/web/app/Application.js index 9a7afc3b9..ebf685dbc 100644 --- a/web/app/Application.js +++ b/web/app/Application.js @@ -93,7 +93,7 @@ Ext.define('Traccar.Application', { if (response.statusText) { Ext.Msg.alert(Strings.errorTitle, response.statusText); } else { - Ext.Msg.alert(Strings.errorTitle, response.status.toString()); // TODO: text message + Ext.Msg.alert(Strings.errorTitle, Strings.errorConnection); } } }; |