diff options
author | Abyss777 <abyss@fox5.ru> | 2018-05-31 15:53:56 +0500 |
---|---|---|
committer | Abyss777 <abyss@fox5.ru> | 2018-05-31 16:02:05 +0500 |
commit | b56be9f7fd8dc4f0a65f7606828a023d392b473e (patch) | |
tree | 8a1c8d478d6aa51482389aedc75ed14c31e899d5 /web/app/view | |
parent | 29ab3eabfe35aa6ad6d2a8be3d7f7b790623ea1e (diff) | |
download | etbsa-traccar-web-b56be9f7fd8dc4f0a65f7606828a023d392b473e.tar.gz etbsa-traccar-web-b56be9f7fd8dc4f0a65f7606828a023d392b473e.tar.bz2 etbsa-traccar-web-b56be9f7fd8dc4f0a65f7606828a023d392b473e.zip |
Add engine hours in milliseconds support
Diffstat (limited to 'web/app/view')
-rw-r--r-- | web/app/view/CustomNumberField.js | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/web/app/view/CustomNumberField.js b/web/app/view/CustomNumberField.js index 3226d56..8cfac1e 100644 --- a/web/app/view/CustomNumberField.js +++ b/web/app/view/CustomNumberField.js @@ -72,6 +72,16 @@ Ext.define('Traccar.view.CustomNumberField', { } }; break; + case 'hours': + config.units = {}; + config.units.getStore = function () { + return Ext.getStore('HoursUnits'); + }; + config.units.getValue = function () { + return 'h'; + }; + unitName = Strings.sharedHourAbbreviation; + break; default: break; } |