diff app/view/proben/EditForm.js @ 103:3552b0ee4526

Added Messungenlist to the Proben eddit view.
author Torsten Irländer <torsten@irlaender.de>
date Mon, 17 Jun 2013 16:59:04 +0200
parents 21c069e2ecdb
children b91d5376db19
line wrap: on
line diff
--- a/app/view/proben/EditForm.js	Mon Jun 17 13:25:14 2013 +0200
+++ b/app/view/proben/EditForm.js	Mon Jun 17 16:59:04 2013 +0200
@@ -222,57 +222,10 @@
                 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: 'Mess.ID',
-                                width: 50
-                            },
-                            {
-                                text: 'NPR-Nr.',
-                                width: 50
-                            },
-                            {
-                                text: 'MMT',
-                                width: 50
-                            },
-                            {
-                                text: 'Messzeit'
-                            },
-                            {
-                                text: 'Status'
-                            },
-                            {
-                                text: 'OK-Flag'
-                            },
-                            {
-                                text: 'Anzahl Nuklide'
-                            },
-                            {
-                                text: 'Anzahl Kommentare',
-                                flex: 1
-                            }
-                        ]
+                        xtype: 'messungenlist'
                     }
                 ]
             }
-
         ];
         this.callParent();
     },

http://lada.wald.intevation.org