aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/report/Report.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-08-18 13:47:52 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2015-08-18 13:47:52 +1200
commit3ad3edfadba59e94d95e967e9d5cd28ae671cae4 (patch)
treef7ab337c360bf50a79855787e9fa80e45ebd808c /web/app/view/report/Report.js
parent17ff0791718807be18e9f63aa095ed86d4b82b1c (diff)
downloadtrackermap-server-3ad3edfadba59e94d95e967e9d5cd28ae671cae4.tar.gz
trackermap-server-3ad3edfadba59e94d95e967e9d5cd28ae671cae4.tar.bz2
trackermap-server-3ad3edfadba59e94d95e967e9d5cd28ae671cae4.zip
Re-factor web interface part
Diffstat (limited to 'web/app/view/report/Report.js')
-rw-r--r--web/app/view/report/Report.js8
1 files changed, 0 insertions, 8 deletions
diff --git a/web/app/view/report/Report.js b/web/app/view/report/Report.js
index 5466c7887..535be942b 100644
--- a/web/app/view/report/Report.js
+++ b/web/app/view/report/Report.js
@@ -90,14 +90,6 @@ Ext.define('Traccar.view.report.Report', {
return speedUnits.convert(value, unit) + ' ' + speedUnits.getUnitName(unit);
}
},
- /* { text: strings.positionCourse, dataIndex: 'course', flex: 1 }, */
- { text: 'Odometer', dataIndex: 'odometer', flex: 1,
- renderer: function(value) {
- var distanceUnits = Ext.getStore('DistanceUnits');
- var unit = Traccar.getApplication().getUser().get('distanceUnit') || Traccar.getApplication().getServer().get('distanceUnit') || '';
- return distanceUnits.convert(value, unit) + ' ' + distanceUnits.getUnitName(unit);
- }
- },
{ text: strings.positionAddress, dataIndex: 'address', flex: 1 }
]