Mercurial > lada > lada-client
view app/view/mkommentare/CreateForm.js @ 270:0d6552bb28ea
Add cancel Button to the editproben window and only show save button if the
form is actually writeable.
author | Torsten Irländer <torsten.irlaender@intevation.de> |
---|---|
date | Tue, 06 Aug 2013 14:33:14 +0200 |
parents | f005f43007b5 |
children | dee3e54a61b1 |
line wrap: on
line source
Ext.define('Lada.view.mkommentare.CreateForm', { extend: 'Lada.view.widgets.LadaForm', model: 'Lada.model.MKommentar', initComponent: function() { this.items = [ { xtype: 'mst', name: 'erzeuger', maxLength: 5, fieldLabel: 'Erzeuger' }, { xtype: 'datefield', name: 'kdatum', fieldLabel: 'Datum' }, { xtype: 'textareafield', name: 'ktext', fieldLabel: 'Text' } ]; this.callParent(); } });