aboutsummaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2017-05-23 15:32:10 +0500
committerAbyss777 <abyss@fox5.ru>2017-05-23 15:32:10 +0500
commit0b2fa6cd0c1221e559bbe48bffea6ce8ba7e749a (patch)
treef271d7dedbaaa11d437ec9cc9574cce926d1edc6 /web
parent7f1a29d1f6606cd7d6469f769fd0e303badcd591 (diff)
downloadetbsa-traccar-web-0b2fa6cd0c1221e559bbe48bffea6ce8ba7e749a.tar.gz
etbsa-traccar-web-0b2fa6cd0c1221e559bbe48bffea6ce8ba7e749a.tar.bz2
etbsa-traccar-web-0b2fa6cd0c1221e559bbe48bffea6ce8ba7e749a.zip
Simple show response
Diffstat (limited to 'web')
-rw-r--r--web/app/view/dialog/SelectDeviceController.js4
-rw-r--r--web/l10n/en.json1
2 files changed, 1 insertions, 4 deletions
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 +
- '<br><br><textarea readonly rows="5" style="resize: none; width: 100%;">' +
- response.responseText + '</textarea>');
+ 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",