aboutsummaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-06-16 19:13:04 +1200
committerGitHub <noreply@github.com>2017-06-16 19:13:04 +1200
commitf3ce72afbd49ccde94178158147de7b378128a55 (patch)
tree51cee5a00ce813d34564c0a05ce5aa0d650fac7e /web
parent0b0e88c03ed0a853afff9dc02ae55e4bf0dd3734 (diff)
parentedaa792903fd3907f9113f345563a3c2ce5eabac (diff)
downloadetbsa-traccar-web-f3ce72afbd49ccde94178158147de7b378128a55.tar.gz
etbsa-traccar-web-f3ce72afbd49ccde94178158147de7b378128a55.tar.bz2
etbsa-traccar-web-f3ce72afbd49ccde94178158147de7b378128a55.zip
Merge pull request #506 from Abyss777/fix_motion_type
Correct 'motion' attribute type
Diffstat (limited to 'web')
-rw-r--r--web/app/store/PositionAttributes.js2
-rw-r--r--web/l10n/en.json1
2 files changed, 2 insertions, 1 deletions
diff --git a/web/app/store/PositionAttributes.js b/web/app/store/PositionAttributes.js
index 7215429..0a6572d 100644
--- a/web/app/store/PositionAttributes.js
+++ b/web/app/store/PositionAttributes.js
@@ -185,7 +185,7 @@ Ext.define('Traccar.store.PositionAttributes', {
}, {
key: 'motion',
name: Strings.positionMotion,
- valueType: 'number'
+ valueType: 'boolean'
}, {
key: 'armed',
name: Strings.positionArmed,
diff --git a/web/l10n/en.json b/web/l10n/en.json
index 90dddd0..f8ac447 100644
--- a/web/l10n/en.json
+++ b/web/l10n/en.json
@@ -299,6 +299,7 @@
"alarmFootBrake": "Foot Brake Alarm",
"alarmOilLeak": "Oil Leak Alarm",
"alarmTampering": "Tampering Alarm",
+ "alarmRemoving": "Removing Alarm",
"notificationType": "Type of Notification",
"notificationWeb": "Send via Web",
"notificationMail": "Send via Mail",