Mercurial > lada > lada-client
view app/view/zusatzwerte/Create.js @ 114:189a93e31be9
Worked on Zusatzwerte. No all values are displayed correct in the List and
form. But sending data in correct form does not work yet.
author | Torsten Irländer <torsten.irlaender@intevation.de> |
---|---|
date | Thu, 20 Jun 2013 12:34:09 +0200 |
parents | 70f80c4ef90e |
children | a7bfaeb1655d |
line wrap: on
line source
Ext.define('Lada.view.zusatzwerte.Create', { extend: 'Ext.window.Window', alias: 'widget.zusatzwertecreate', title: 'Maske für Zusatzwerte', // Make size of the dialog dependend of the available space. // TODO: Handle resizing the browser window. width: Ext.getBody().getViewSize().width - 30, height: Ext.getBody().getViewSize().height - 30, autoShow: true, autoScroll: true, modal: true, requires: [ 'Lada.view.zusatzwerte.CreateForm', 'Lada.view.widgets.Zusatzwert', 'Lada.view.widgets.Messeinheit' ], initComponent: function() { var form = Ext.create('Lada.view.zusatzwerte.CreateForm', this.initialConfig); this.items = [form]; this.buttons = [ { text: 'Speichern', handler: form.commit, scope: form } ]; this.callParent(); } });