Mercurial > lada > lada-client
view app/view/messwerte/Create.js @ 189:214d1b274a50
As the model now should have a readonly flag, the check if the form must be
rendered as readonly was moved to the place where the model is actually bound
to the form.
author | Torsten Irländer <torsten.irlaender@intevation.de> |
---|---|
date | Fri, 05 Jul 2013 14:49:15 +0200 |
parents | 956555e20e02 |
children | 46cc69277b8e |
line wrap: on
line source
Ext.define('Lada.view.messwerte.Create', { extend: 'Ext.window.Window', alias: 'widget.messwertecreate', title: 'Maske für Messwerte', //width: Ext.getBody().getViewSize().width - 30, //height: Ext.getBody().getViewSize().height - 30, autoShow: true, autoScroll: true, modal: true, requires: [ 'Lada.view.messungen.CreateForm' ], initComponent: function() { var form = Ext.create('Lada.view.messwerte.CreateForm', this.initialConfig); this.items = [form]; this.buttons = [ { text: 'Speichern', scope: form } ]; this.callParent(); } });