Mercurial > lada > lada-client
diff app/controller/grid/Messwert.js @ 739:efb1369a8cac
Enabled autocompletion for Messwerte in a Messung.
author | Dustin Demuth <dustin@intevation.de> |
---|---|
date | Mon, 20 Apr 2015 14:11:39 +0200 |
parents | f0bc5387abcc |
children | 2e8da590ea0c |
line wrap: on
line diff
--- a/app/controller/grid/Messwert.js Mon Apr 20 12:24:54 2015 +0200 +++ b/app/controller/grid/Messwert.js Mon Apr 20 14:11:39 2015 +0200 @@ -27,6 +27,10 @@ gridSave: function(editor, context) { context.record.save({ success: function(request, response) { + Ext.data.StoreManager.get('messgroessen').clearFilters(); + Ext.data.StoreManager.get('messgroessen').reload(); + // If you don't do the reset above, the grid will only contain + // one row in cases in when autocompletion was used! context.grid.store.reload(); context.grid.up('window').initData(); },