diff app/view/proben/Edit.js @ 41:a1be7ccd4d0c

Added datenbasis combobox
author Torsten Irländer <torsten.irlaender@intevation.de>
date Fri, 24 May 2013 16:37:54 +0200
parents f9b6de636ad0
children 5ed477590736
line wrap: on
line diff
--- a/app/view/proben/Edit.js	Fri May 24 16:36:26 2013 +0200
+++ b/app/view/proben/Edit.js	Fri May 24 16:37:54 2013 +0200
@@ -10,6 +10,7 @@
     modal: true,
 
     requires: [
+        'Lada.view.widgets.Datenbasis',
         'Lada.view.widgets.Probenart'
     ],
 
@@ -51,9 +52,11 @@
                                 collapsed: true,
                                 items: [
                                     {
-                                        xtype: 'textfield',
-                                        name: 'x4',
-                                        fieldLabel: 'Datebasis'
+                                        xtype: 'datenbasis',
+                                        id: 'datenbasis',
+                                        editable: false,
+                                        name: 'datenbasisId',
+                                        fieldLabel: 'Datenbasis'
                                     },
                                     {
                                         xtype: 'textfield',

http://lada.wald.intevation.org