diff app/view/window/GenProbenFromMessprogramm.js @ 1233:a1bbfddb77b9

Fix result list from generation of Probe objects. These are adaptations to changes in the server due to the extinction of the schema bund.
author Tom Gottfried <tom@intevation.de>
date Fri, 28 Oct 2016 20:04:20 +0200
parents 9c429e7bf747
children cadd1c113bd0
line wrap: on
line diff
--- a/app/view/window/GenProbenFromMessprogramm.js	Fri Oct 28 19:59:45 2016 +0200
+++ b/app/view/window/GenProbenFromMessprogramm.js	Fri Oct 28 20:04:20 2016 +0200
@@ -172,22 +172,7 @@
 
             var columns = [{
                 header: i18n.getMsg('prnId'),
-                dataIndex: 'probeIdAlt'
-            }, {
-                header: i18n.getMsg('netzbetreiberId'),
-                dataIndex: 'netzbetreiberId',
-                renderer: function(value) {
-                    var r = '';
-                    if (!value || value === '') {
-                        r = 'Error';
-                    }
-                    var store = Ext.data.StoreManager.get('netzbetreiber');
-                    var record = store.getById(value);
-                    if (record) {
-                        r = record.get('netzbetreiber');
-                    }
-                    return r;
-                }
+                dataIndex: 'idAlt'
             }, {
                 header: i18n.getMsg('mstId'),
                 dataIndex: 'mstId',

http://lada.wald.intevation.org