changeset 1028:2e7adc19b4fe stammdatengrids

Do not copy the Record to the Ortszuordnungwin
author Dustin Demuth <dustin@intevation.de>
date Tue, 16 Feb 2016 09:04:05 +0100
parents 6d33a84979e4
children 1bd4c0709bd6
files app/controller/form/Ortszuordnung.js app/controller/grid/Ortszuordnung.js
diffstat 2 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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]);
--- 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();

http://lada.wald.intevation.org