Mercurial > lada > lada-client
changeset 1355:d8db43ac9c12
fix: ortserstellung did load verwaltungsstore with only one entry
author | Maximilian Krambach <mkrambach@intevation.de> |
---|---|
date | Tue, 07 Feb 2017 16:50:16 +0100 |
parents | 02252ce0cf1e |
children | 81b585645581 |
files | app/controller/form/Ortserstellung.js |
diffstat | 1 files changed, 2 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/app/controller/form/Ortserstellung.js Tue Feb 07 16:44:07 2017 +0100 +++ b/app/controller/form/Ortserstellung.js Tue Feb 07 16:50:16 2017 +0100 @@ -58,10 +58,8 @@ record.save({ success: function(newrecord, response) { form.loadRecord(newrecord); - me.down('verwaltungseinheit').store.load( - { id:newrecord.get('gemId') }); - me.down('staat').store.load( - { id : newrecord.get('staat') }); + me.down('verwaltungseinheit').store.clearFilter(); + me.down('staat').store.clearFilter(); button.setDisabled(true); me.down('button[action=revert]').setDisabled(true); button.hide();