comparison app/controller/form/Ort.js @ 644:71e8b84d7829

Reload grids on messung or ort changed/added.
author Raimund Renkert <raimund.renkert@intevation.de>
date Tue, 17 Mar 2015 16:06:33 +0100
parents 5b5bba1d8e6a
children d6ef146e1a9f
comparison
equal deleted inserted replaced
643:477379250512 644:71e8b84d7829
40 button.up('toolbar').down('button[action=discard]') 40 button.up('toolbar').down('button[action=discard]')
41 .setDisabled(true); 41 .setDisabled(true);
42 formPanel.clearMessages(); 42 formPanel.clearMessages();
43 formPanel.setRecord(record); 43 formPanel.setRecord(record);
44 formPanel.setMessages(json.errors, json.warnings); 44 formPanel.setMessages(json.errors, json.warnings);
45 formPanel.up('window').grid.store.reload();
45 } 46 }
46 }, 47 },
47 failure: function(record, response) { 48 failure: function(record, response) {
48 button.setDisabled(true); 49 button.setDisabled(true);
49 button.up('toolbar').down('button[action=discard]') 50 button.up('toolbar').down('button[action=discard]')

http://lada.wald.intevation.org