aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2017-10-23 12:31:12 +0500
committerAbyss777 <abyss@fox5.ru>2017-10-23 12:31:12 +0500
commitfcfc1147e9dfc4285baaf1e1990325130514768b (patch)
tree393af69a9c11d46986fc6a0f13b0ce58aace1549
parent1505033b1ddcc6ccfe6b82e783e776eea9fcbf80 (diff)
downloadtrackermap-web-fcfc1147e9dfc4285baaf1e1990325130514768b.tar.gz
trackermap-web-fcfc1147e9dfc4285baaf1e1990325130514768b.tar.bz2
trackermap-web-fcfc1147e9dfc4285baaf1e1990325130514768b.zip
Make value cells word wrap in State panel
-rw-r--r--web/app/view/State.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/web/app/view/State.js b/web/app/view/State.js
index 690c097f..32f95861 100644
--- a/web/app/view/State.js
+++ b/web/app/view/State.js
@@ -59,6 +59,7 @@ Ext.define('Traccar.view.State', {
}, {
text: Strings.stateValue,
dataIndex: 'value',
+ cellWrap: true,
renderer: function (value, metaData, record) {
if (record.get('attribute') === 'alarm') {
metaData.tdCls = 'view-color-red';