aboutsummaryrefslogtreecommitdiff
path: root/web/app/view
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-10-23 22:30:34 +1300
committerGitHub <noreply@github.com>2017-10-23 22:30:34 +1300
commit2fd7c0f03ec9a4a3734a0aba38d56f59fddc6e48 (patch)
treec3546d244e16d83054649323364a22a710b33146 /web/app/view
parent329941595ebab576788bc5646389bd27ae6f614d (diff)
parentfcfc1147e9dfc4285baaf1e1990325130514768b (diff)
downloadtrackermap-web-2fd7c0f03ec9a4a3734a0aba38d56f59fddc6e48.tar.gz
trackermap-web-2fd7c0f03ec9a4a3734a0aba38d56f59fddc6e48.tar.bz2
trackermap-web-2fd7c0f03ec9a4a3734a0aba38d56f59fddc6e48.zip
Merge pull request #608 from Abyss777/multiline_state
Enable word wrapping in State panel
Diffstat (limited to 'web/app/view')
-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';