[Lada-commits] [PATCH] Two lines later we rely on having a specific field, dirty or not

Wald Commits scm-commit at wald.intevation.org
Fri Oct 28 19:17:59 CEST 2016


# HG changeset patch
# User Tom Gottfried <tom at intevation.de>
# Date 1477675066 -7200
# Node ID e8dd06450f2cb797b70bf1169946c3601263938d
# Parent  38599f18c8634e22ddb478b12f3a83f2b66049e4
Two lines later we rely on having a specific field, dirty or not.

diff -r 38599f18c863 -r e8dd06450f2c app/controller/form/Messprogramm.js
--- a/app/controller/form/Messprogramm.js	Fri Oct 28 18:44:10 2016 +0200
+++ b/app/controller/form/Messprogramm.js	Fri Oct 28 19:17:46 2016 +0200
@@ -200,7 +200,7 @@
      */
     save: function(button) {
         var formPanel = button.up('form');
-        var data = formPanel.getForm().getFieldValues(true);
+        var data = formPanel.getForm().getFieldValues();
         var orte = Ext.data.StoreManager.get('orte');
         var gemId = orte.getById(data['ortId']).get('gemId');
         for (var key in data) {


More information about the Lada-commits mailing list