diff app/view/kommentare/CreateForm.js @ 111:6273b73b4b27

Replaced Logic for Kommentare. Use copied code form Orte.
author Torsten Irländer <torsten.irlaender@intevation.de>
date Wed, 19 Jun 2013 14:11:35 +0200
parents
children 7b1140bd8b3d
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/app/view/kommentare/CreateForm.js	Wed Jun 19 14:11:35 2013 +0200
@@ -0,0 +1,31 @@
+Ext.define('Lada.view.kommentare.CreateForm', {
+    extend: 'Lada.view.widgets.LadaForm',
+    model: 'Lada.model.Kommentar',
+    initComponent: function() {
+        this.items = [
+            {
+                xtype: 'textfield',
+                name: 'erzeuger',
+                fieldLabel: 'Erzeuger'
+            },
+            {
+                xtype: 'datefield',
+                name: 'kdatum',
+                fieldLabel: 'Datum'
+            },
+            {
+                xtype: 'textareafield',
+                name: 'ktext',
+                fieldLabel: 'Text'
+            }
+        ];
+        //this.buttons = [
+        //    {
+        //        text: 'Speichern',
+        //        handler: this.commit,
+        //        scope: this
+        //    }
+        //];
+        this.callParent();
+    }
+});

http://lada.wald.intevation.org