[Lada-commits] [PATCH] Do not copy the Record to the Ortszuordnungwin

Wald Commits scm-commit at wald.intevation.org
Tue Feb 16 09:04:36 CET 2016


# HG changeset patch
# User Dustin Demuth <dustin at intevation.de>
# Date 1455609845 -3600
# Branch stammdatengrids
# Node ID 2e7adc19b4fe60aa8bafec82fcf45dac61c70437
# Parent  6d33a84979e408d8df2c78e774240bf04132936e
Do not copy the Record to the Ortszuordnungwin

diff -r 6d33a84979e4 -r 2e7adc19b4fe app/controller/form/Ortszuordnung.js
--- a/app/controller/form/Ortszuordnung.js	Mon Feb 08 10:33:25 2016 +0100
+++ b/app/controller/form/Ortszuordnung.js	Tue Feb 16 09:04:05 2016 +0100
@@ -49,8 +49,6 @@
         }
 
         var data = formPanel.getForm().getFieldValues(true);
-        debugger;
-        console.log(data);
         var i18n = Lada.getApplication().bundle;
         for (var key in data) {
             formPanel.getForm().getRecord().set(key, data[key]);
diff -r 6d33a84979e4 -r 2e7adc19b4fe app/controller/grid/Ortszuordnung.js
--- a/app/controller/grid/Ortszuordnung.js	Mon Feb 08 10:33:25 2016 +0100
+++ b/app/controller/grid/Ortszuordnung.js	Tue Feb 16 09:04:05 2016 +0100
@@ -43,7 +43,7 @@
         var win = Ext.create('Lada.view.window.Ortszuordnung', {
             parentWindow: grid.up('window'),
             probe: grid.up('window').down('probeform').record,
-            record: record.copy(),
+            record: record,
             grid: grid
         });
         win.show();


More information about the Lada-commits mailing list