[Lada-commits] [PATCH 02 of 13] Removed unneeded code and set action attribute on button
Wald Commits
scm-commit at wald.intevation.org
Mon Jul 8 16:17:40 CEST 2013
# HG changeset patch
# User Torsten Irländer <torsten.irlaender at intevation.de>
# Date 1373277517 -7200
# Node ID 46cc69277b8ebd64e5f40da44841d03631cf1205
# Parent 7811138391559bf616634281f33eb348772188a2
Removed unneeded code and set action attribute on button.
diff -r 781113839155 -r 46cc69277b8e app/view/messwerte/Create.js
--- a/app/view/messwerte/Create.js Mon Jul 08 11:58:04 2013 +0200
+++ b/app/view/messwerte/Create.js Mon Jul 08 11:58:37 2013 +0200
@@ -3,22 +3,18 @@
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
+ scope: form,
+ action: 'save'
}
];
this.callParent();
More information about the Lada-commits
mailing list