[Lada-commits] [PATCH 08 of 13] Show "Anzahl der Nuklide"

Wald Commits scm-commit at wald.intevation.org
Wed Jul 3 16:09:24 CEST 2013


# HG changeset patch
# User Torsten Irländer <torsten.irlaender at intevation.de>
# Date 1372857810 -7200
# Node ID 202d89d8dd165341f372dcb9d394aa28638369e7
# Parent  767300b2c70f35d16ed180d855632c70c52c7f31
Show "Anzahl der Nuklide"

diff -r 767300b2c70f -r 202d89d8dd16 app/view/messungen/List.js
--- a/app/view/messungen/List.js	Wed Jul 03 14:03:51 2013 +0200
+++ b/app/view/messungen/List.js	Wed Jul 03 15:23:30 2013 +0200
@@ -40,6 +40,14 @@
                 header: 'Anzahl Nuklide',
                 dataIndex: 'messungsId',
                 renderer: function(value) {
+                    var mstore = Ext.getStore('Messungen');
+                    mstore.load({
+                        params: {
+                            probeId: value.probeId,
+                            messungsId: value.messungsId
+                        }
+                    });
+                    return mstore.getTotalCount();
                 }
             },
             {


More information about the Lada-commits mailing list