diff app/view/proben/Edit.js @ 40:f9b6de636ad0

Added probenart combobox
author Torsten Irländer <torsten.irlaender@intevation.de>
date Fri, 24 May 2013 16:36:26 +0200
parents b1751458594f
children a1be7ccd4d0c
line wrap: on
line diff
--- a/app/view/proben/Edit.js	Fri May 24 16:32:13 2013 +0200
+++ b/app/view/proben/Edit.js	Fri May 24 16:36:26 2013 +0200
@@ -9,6 +9,10 @@
     autoScroll: true,
     modal: true,
 
+    requires: [
+        'Lada.view.widgets.Probenart'
+    ],
+
     initComponent: function() {
         this.items = [
             {
@@ -62,7 +66,9 @@
                                         fieldLabel: 'Testdatensatz'
                                     },
                                     {
-                                        xtype: 'textfield',
+                                        xtype: 'probenart',
+                                        id: 'probenart',
+                                        editable: false,
                                         name: 'probenartId',
                                         fieldLabel: 'Probenart'
                                     },

http://lada.wald.intevation.org