From 248dba62a8b1bd493341f3b9257d2f7a0edc4194 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Wed, 11 Nov 2015 11:28:40 +1300 Subject: Handle HTTP connection errors --- web/app/Application.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'web/app') 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); } } }; -- cgit v1.2.3