Mercurial > lada > lada-client
view app/view/mkommentare/CreateForm.js @ 246:c5d7fae5997a
Change logic how to show and hide the search filters. Now we iterate over the
list of defined filters for the selected query and show all matching filters.
If no filter is configured at all the whole filter widget is hidden.
author | Torsten Irländer <torsten.irlaender@intevation.de> |
---|---|
date | Tue, 23 Jul 2013 14:18:11 +0200 |
parents | bd9ee11c74b4 |
children | f005f43007b5 |
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: 'textfield', name: 'erzeuger', maxLength: 5, fieldLabel: 'Erzeuger' }, { xtype: 'datefield', name: 'kdatum', fieldLabel: 'Datum' }, { xtype: 'textareafield', name: 'ktext', fieldLabel: 'Text' } ]; this.callParent(); } });