comparison app/controller/form/Ortszuordnung.js @ 1134:f1d21e6a7449

Fixed adding new ortszuortnung for probe objects.
author Raimund Renkert <raimund.renkert@intevation.de>
date Wed, 25 May 2016 14:52:41 +0200
parents 2e7adc19b4fe
children 5ceb0381ae73
comparison
equal deleted inserted replaced
1133:df6d1a2cdd4a 1134:f1d21e6a7449
64 button.up('toolbar').down('button[action=discard]') 64 button.up('toolbar').down('button[action=discard]')
65 .setDisabled(true); 65 .setDisabled(true);
66 formPanel.clearMessages(); 66 formPanel.clearMessages();
67 formPanel.setRecord(record); 67 formPanel.setRecord(record);
68 formPanel.setMessages(json.errors, json.warnings); 68 formPanel.setMessages(json.errors, json.warnings);
69 formPanel.up('window').grid.store.reload(); 69 formPanel.up('window').parentWindow.initData();
70 } 70 }
71 //try to refresh the Grid of the Probe 71 //try to refresh the Grid of the Probe
72 try { 72 try {
73 formPanel.up('window').parentWindow 73 formPanel.up('window').parentWindow
74 .down('ortszuordnunggrid').store.reload(); 74 .down('ortszuordnunggrid').store.reload();

http://lada.wald.intevation.org