diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-08-01 01:00:55 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-08-01 01:00:55 +1200 |
commit | 91613f02627eb8cd948e536a082f1b54b682f82f (patch) | |
tree | fd94c1d891657abf676e11640fbe9ae35d8f5043 /web | |
parent | e99ce88d9ea0ab3d2ae0a039e27ebe0029508092 (diff) | |
download | trackermap-server-91613f02627eb8cd948e536a082f1b54b682f82f.tar.gz trackermap-server-91613f02627eb8cd948e536a082f1b54b682f82f.tar.bz2 trackermap-server-91613f02627eb8cd948e536a082f1b54b682f82f.zip |
Fix periodic reporting command
Diffstat (limited to 'web')
-rw-r--r-- | web/app/view/command/CommandDialog.js | 2 | ||||
-rw-r--r-- | web/app/view/command/CommandDialogController.js | 4 | ||||
-rw-r--r-- | web/l10n/en.js | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/web/app/view/command/CommandDialog.js b/web/app/view/command/CommandDialog.js index 7f4b3c592..a8da68380 100644 --- a/web/app/view/command/CommandDialog.js +++ b/web/app/view/command/CommandDialog.js @@ -43,7 +43,7 @@ Ext.define('Traccar.view.command.CommandDialog', { } }, { xtype: 'fieldcontainer', - reference: 'paramPositionFix', + reference: 'paramPositionPeriodic', name: 'other', hidden: true, diff --git a/web/app/view/command/CommandDialogController.js b/web/app/view/command/CommandDialogController.js index e6275024a..28c146187 100644 --- a/web/app/view/command/CommandDialogController.js +++ b/web/app/view/command/CommandDialogController.js @@ -28,8 +28,8 @@ Ext.define('Traccar.view.command.CommandDialogController', { form.updateRecord(); var record = form.getRecord(); - if (record.get('type') === 'positionFix') { - other = this.lookupReference('paramPositionFix'); + if (record.get('type') === 'positionPeriodic') { + other = this.lookupReference('paramPositionPeriodic'); var value = other.down('numberfield[name="frequency"]').getValue(); value *= other.down('combobox[name="unit"]').getValue(); diff --git a/web/l10n/en.js b/web/l10n/en.js index 5abdfab1b..77d6bff83 100644 --- a/web/l10n/en.js +++ b/web/l10n/en.js @@ -77,8 +77,8 @@ var strings = { command_title: 'Command', command_send: 'Send', command_type: 'Type', - command_position_periodic: 'Periodic Position Reporting', - command_position_stop: 'Stop Position Reporting', + command_position_periodic: 'Periodic Reporting', + command_position_stop: 'Stop Reporting', command_engine_stop: 'Engine Stop', command_engine_resume: 'Engine Resume', command_frequency: 'Frequency', |