From 0b2fa6cd0c1221e559bbe48bffea6ce8ba7e749a Mon Sep 17 00:00:00 2001 From: Abyss777 Date: Tue, 23 May 2017 15:32:10 +0500 Subject: Simple show response --- web/app/view/dialog/SelectDeviceController.js | 4 +--- web/l10n/en.json | 1 - 2 files changed, 1 insertion(+), 4 deletions(-) (limited to 'web') diff --git a/web/app/view/dialog/SelectDeviceController.js b/web/app/view/dialog/SelectDeviceController.js index d8cd5d3..7b7277c 100644 --- a/web/app/view/dialog/SelectDeviceController.js +++ b/web/app/view/dialog/SelectDeviceController.js @@ -31,9 +31,7 @@ Ext.define('Traccar.view.dialog.SelectDeviceController', { callback: function (options, success, response) { if (success) { if (response.responseText) { - Ext.Msg.alert(Strings.sharedInfoTitle, Strings.sharedInfoGeneral + - '

'); + Ext.Msg.alert(Strings.sharedInfoTitle, response.responseText); } else if (response.statusText) { Ext.Msg.alert(Strings.sharedInfoTitle, response.statusText); } diff --git a/web/l10n/en.json b/web/l10n/en.json index 024f147..754295e 100644 --- a/web/l10n/en.json +++ b/web/l10n/en.json @@ -65,7 +65,6 @@ "sharedTypeBoolean": "Boolean", "sharedTimezone": "Timezone", "sharedInfoTitle": "Info", - "sharedInfoGeneral": "Responce", "attributeSpeedLimit": "Speed Limit", "attributeReportIgnoreOdometer": "Report: Ignore Odometer", "attributeMaintenanceStart": "Maintenance: Start", -- cgit v1.2.3