[Lada-commits] [PATCH 1 of 3] Fix display of Messregime in result from generation of Proben

Wald Commits scm-commit at wald.intevation.org
Fri Oct 28 21:24:14 CEST 2016


# HG changeset patch
# User Tom Gottfried <tom at intevation.de>
# Date 1477677585 -7200
# Node ID 9c429e7bf747d16d8a413887299b038f01214b64
# Parent  e8dd06450f2cb797b70bf1169946c3601263938d
Fix display of Messregime in result from generation of Proben.

diff -r e8dd06450f2c -r 9c429e7bf747 app/view/window/GenProbenFromMessprogramm.js
--- a/app/view/window/GenProbenFromMessprogramm.js	Fri Oct 28 19:17:46 2016 +0200
+++ b/app/view/window/GenProbenFromMessprogramm.js	Fri Oct 28 19:59:45 2016 +0200
@@ -223,16 +223,13 @@
                 dataIndex: 'baId',
                 renderer: function(value) {
                     var r = '';
-                    if (!value || value === '') {
-                        r = '';
-                    }
                     var store = Ext.create('Ext.data.Store', {
-                        fields: ['betriebsartId', 'betriebsart'],
+                        fields: ['id', 'betriebsart'],
                         data: [{
-                            'betriebsartId': '1',
+                            'id': 1,
                             'betriebsart': 'Normal-/Routinebetrieb'
                         }, {
-                            'betriebsartId': '2',
+                            'id': 2,
                             'betriebsart': 'Störfall/Intensivbetrieb'
                         }]
                     });


More information about the Lada-commits mailing list