[Lada-commits] [PATCH] Changed MKommentar Text into type textarea

Wald Commits scm-commit at wald.intevation.org
Tue Jul 5 09:16:35 CEST 2016


# HG changeset patch
# User Evi Huber <ehuber at bfs.de>
# Date 1467702980 -7200
# Node ID 9b157a8eecf1bde00c91ccec7752369f8233741e
# Parent  9182430b79d748f4f4a915fe29503812fc0f6bfe
Changed MKommentar Text into type textarea

diff -r 9182430b79d7 -r 9b157a8eecf1 app/view/grid/MKommentar.js
--- 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


More information about the Lada-commits mailing list