aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/edit
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2017-04-20 11:57:55 +0500
committerAbyss777 <abyss@fox5.ru>2017-04-20 11:57:55 +0500
commit2c4c52a8d925de24c004db7ec01479c27e507f1d (patch)
treed1811359fb647efdbddeadba8a66199fff22645a /web/app/view/edit
parent3810a8be84b010f6c26f7541be22ecd6a973af58 (diff)
downloadetbsa-traccar-web-2c4c52a8d925de24c004db7ec01479c27e507f1d.tar.gz
etbsa-traccar-web-2c4c52a8d925de24c004db7ec01479c27e507f1d.tar.bz2
etbsa-traccar-web-2c4c52a8d925de24c004db7ec01479c27e507f1d.zip
Remove cell colorizing
Diffstat (limited to 'web/app/view/edit')
-rw-r--r--web/app/view/edit/Attributes.js3
1 files changed, 0 insertions, 3 deletions
diff --git a/web/app/view/edit/Attributes.js b/web/app/view/edit/Attributes.js
index 981d539..7788d8c 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;
}