Mercurial > lada > lada-client
comparison app/controller/form/Probe.js @ 741:a76638970d50
Clear filter on umwelt combox store.
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Mon, 20 Apr 2015 16:49:49 +0200 |
parents | aadb6e1f0a70 |
children | e89a31b2c17e |
comparison
equal
deleted
inserted
replaced
740:2e8da590ea0c | 741:a76638970d50 |
---|---|
85 }); | 85 }); |
86 }, | 86 }, |
87 | 87 |
88 discard: function(button) { | 88 discard: function(button) { |
89 var formPanel = button.up('form'); | 89 var formPanel = button.up('form'); |
90 formPanel.down('umwelt').store.clearFilter(); | |
90 formPanel.getForm().loadRecord(formPanel.getForm().getRecord()); | 91 formPanel.getForm().loadRecord(formPanel.getForm().getRecord()); |
91 }, | 92 }, |
92 | 93 |
93 dirtyForm: function(form, dirty) { | 94 dirtyForm: function(form, dirty) { |
94 if (dirty) { | 95 if (dirty) { |