From 2c4c52a8d925de24c004db7ec01479c27e507f1d Mon Sep 17 00:00:00 2001 From: Abyss777 Date: Thu, 20 Apr 2017 11:57:55 +0500 Subject: Remove cell colorizing --- web/app/view/edit/Attributes.js | 3 --- 1 file changed, 3 deletions(-) (limited to 'web') 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; } -- cgit v1.2.3