Mercurial > lada > lada-client
comparison app/controller/form/Ortszuordnung.js @ 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 | f1d21e6a7449 |
comparison
equal
deleted
inserted
replaced
1022:6d33a84979e4 | 1028:2e7adc19b4fe |
---|---|
47 } | 47 } |
48 catch (e) { | 48 catch (e) { |
49 } | 49 } |
50 | 50 |
51 var data = formPanel.getForm().getFieldValues(true); | 51 var data = formPanel.getForm().getFieldValues(true); |
52 debugger; | |
53 console.log(data); | |
54 var i18n = Lada.getApplication().bundle; | 52 var i18n = Lada.getApplication().bundle; |
55 for (var key in data) { | 53 for (var key in data) { |
56 formPanel.getForm().getRecord().set(key, data[key]); | 54 formPanel.getForm().getRecord().set(key, data[key]); |
57 } | 55 } |
58 if (!formPanel.getForm().getRecord().get('letzteAenderung')) { | 56 if (!formPanel.getForm().getRecord().get('letzteAenderung')) { |