diff app/view/mkommentare/CreateForm.js @ 490:446e99cfd425

Updated views and controllers using the new model and stores.
author Raimund Renkert <raimund.renkert@intevation.de>
date Fri, 31 Oct 2014 21:28:31 +0100
parents debfcc7713e3
children 850ccfe5f3c4
line wrap: on
line diff
--- a/app/view/mkommentare/CreateForm.js	Fri Oct 31 21:11:25 2014 +0100
+++ b/app/view/mkommentare/CreateForm.js	Fri Oct 31 21:28:31 2014 +0100
@@ -11,7 +11,7 @@
  */
 Ext.define('Lada.view.mkommentare.CreateForm', {
     extend: 'Lada.view.widgets.LadaForm',
-    model: 'Lada.model.MKommentar',
+    model: 'Lada.model.KommentarM',
     initComponent: function() {
         this.items = [
             {
@@ -21,13 +21,13 @@
             },
             {
                 xtype: 'datetime',
-                name: 'kdatum',
+                name: 'datum',
                 fieldLabel: 'Datum'
             },
             {
                 xtype: 'textareafield',
                 maxLength: 1024,
-                name: 'ktext',
+                name: 'text',
                 fieldLabel: 'Text'
             }
         ];

http://lada.wald.intevation.org