diff options
author | Abyss777 <abyss@fox5.ru> | 2017-04-20 11:57:55 +0500 |
---|---|---|
committer | Abyss777 <abyss@fox5.ru> | 2017-04-20 11:57:55 +0500 |
commit | 2c4c52a8d925de24c004db7ec01479c27e507f1d (patch) | |
tree | d1811359fb647efdbddeadba8a66199fff22645a /web/app/view/edit/Attributes.js | |
parent | 3810a8be84b010f6c26f7541be22ecd6a973af58 (diff) | |
download | trackermap-web-2c4c52a8d925de24c004db7ec01479c27e507f1d.tar.gz trackermap-web-2c4c52a8d925de24c004db7ec01479c27e507f1d.tar.bz2 trackermap-web-2c4c52a8d925de24c004db7ec01479c27e507f1d.zip |
Remove cell colorizing
Diffstat (limited to 'web/app/view/edit/Attributes.js')
-rw-r--r-- | web/app/view/edit/Attributes.js | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/web/app/view/edit/Attributes.js b/web/app/view/edit/Attributes.js index 981d5399..7788d8c8 100644 --- a/web/app/view/edit/Attributes.js +++ b/web/app/view/edit/Attributes.js @@ -61,9 +61,6 @@ Ext.define('Traccar.view.edit.Attributes', { return Ext.getStore('SpeedUnits').formatValue(value, Traccar.app.getPreference('speedUnit', 'kn')); } else if (attribute && attribute.get('convert') === 'distance') { return Ext.getStore('DistanceUnits').formatValue(value, Traccar.app.getPreference('distanceUnit', 'km')); - } else if (attribute && attribute.get('type') === 'color') { - metaData.tdStyle = 'background-color:' + value; - return value; } else { return value; } |