Mercurial > lada > lada-client
comparison app/controller/form/Messung.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 | fdaabab6f4cc |
children | aedf0709af92 |
comparison
equal
deleted
inserted
replaced
643:477379250512 | 644:71e8b84d7829 |
---|---|
37 button.up('toolbar').down('button[action=discard]') | 37 button.up('toolbar').down('button[action=discard]') |
38 .setDisabled(true); | 38 .setDisabled(true); |
39 formPanel.clearMessages(); | 39 formPanel.clearMessages(); |
40 formPanel.setRecord(record); | 40 formPanel.setRecord(record); |
41 formPanel.setMessages(json.errors, json.warnings); | 41 formPanel.setMessages(json.errors, json.warnings); |
42 formPanel.up('window').grid.store.reload(); | |
42 if (response.action === 'create' && json.success) { | 43 if (response.action === 'create' && json.success) { |
43 button.up('window').close(); | 44 button.up('window').close(); |
44 var win = Ext.create('Lada.view.window.MessungEdit', { | 45 var win = Ext.create('Lada.view.window.MessungEdit', { |
45 record: record | 46 record: record |
46 }); | 47 }); |