changeset 1172:9b157a8eecf1

Changed MKommentar Text into type textarea
author Evi Huber <ehuber@bfs.de>
date Tue, 05 Jul 2016 09:16:20 +0200
parents 9182430b79d7
children bdc1f9bfd930 5e3d4136ecfb
files app/view/grid/MKommentar.js
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/app/view/grid/MKommentar.js	Mon Jul 04 11:26:42 2016 +0200
+++ b/app/view/grid/MKommentar.js	Tue Jul 05 09:16:20 2016 +0200
@@ -91,7 +91,12 @@
             header: 'Text',
             dataIndex: 'text',
             flex: 1,
+            renderer: function(value) {
+                return '<div style="white-space: normal !important;">' +
+                value + '</div>';
+            },
             editor: {
+                xtype: 'textarea',
                 allowBlank: false,
                 maxLength: 1000,
                 enforceMaxLength: true

http://lada.wald.intevation.org