diff app/view/proben/EditForm.js @ 94:21c069e2ecdb

Added Orte to the Proben edit window
author Torsten Irländer <torsten.irlaender@intevation.de>
date Thu, 13 Jun 2013 14:24:18 +0200
parents 4b9ea5fd9d2b
children 3552b0ee4526
line wrap: on
line diff
--- a/app/view/proben/EditForm.js	Thu Jun 13 11:04:11 2013 +0200
+++ b/app/view/proben/EditForm.js	Thu Jun 13 14:24:18 2013 +0200
@@ -148,42 +148,7 @@
                 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: 'Typ'
-                            },
-                            {
-                                text: 'Staat'
-                            },
-                            {
-                                text: 'Gem-ID'
-                            },
-                            {
-                                text: 'Gemeindebezeichnung',
-                                flex: 1
-                            },
-                            {
-                                text: 'Messpunkt',
-                                flex: 1
-                            }
-                        ]
+                        xtype: 'ortelist'
                     }
                 ]
             },

http://lada.wald.intevation.org