diff app/view/proben/EditForm.js @ 106:b91d5376db19

Load Zusatzwerte from server
author Torsten Irländer <torsten.irlaender@intevation.de>
date Tue, 18 Jun 2013 14:02:48 +0200
parents 3552b0ee4526
children c05fda928b82
line wrap: on
line diff
--- a/app/view/proben/EditForm.js	Tue Jun 18 13:21:57 2013 +0200
+++ b/app/view/proben/EditForm.js	Tue Jun 18 14:02:48 2013 +0200
@@ -160,46 +160,7 @@
                 collapsed: true,
                 padding: '10 10',
                 items: [
-                    {
-                        xtype: 'grid',
-                        dockedItems: [
-                            {
-                                xtype: 'toolbar',
-                                dock: 'top',
-                                items: [
-                                    {
-                                        text: 'Hinzufügen',
-                                        icon: 'gfx/plus.gif'
-                                    },
-                                    {
-                                        text: 'Löschen',
-                                        icon: 'gfx/minus.gif'
-                                    }
-                                ]
-                            }
-                        ],
-                        columns: [
-                            {
-                                text: 'PZW-ID'
-                            },
-                            {
-                                text: 'PZW-Größe'
-                            },
-                            {
-                                text: '&lt; NWG'
-                            },
-                            {
-                                text: '&lt; PZW'
-                            },
-                            {
-                                text: 'rel. Unsich.[%]'
-                            },
-                            {
-                                text: 'Maßeinheit',
-                                flex: 1
-                            }
-                        ]
-                    }
+                    { xtype: 'zusatzwertelist' }
                 ]
             },
             // Probenkommentar

http://lada.wald.intevation.org