[Lada-commits] [PATCH] Clear filter on umwelt combox store

Wald Commits scm-commit at wald.intevation.org
Mon Apr 20 16:48:49 CEST 2015


# HG changeset patch
# User Raimund Renkert <raimund.renkert at intevation.de>
# Date 1429541389 -7200
# Node ID a76638970d509c6896b002a17909ccb2aaeefc99
# Parent  2e8da590ea0c092f1ae888c8594ce22783389ec2
Clear filter on umwelt combox store.

diff -r 2e8da590ea0c -r a76638970d50 app/controller/form/Probe.js
--- a/app/controller/form/Probe.js	Mon Apr 20 16:07:40 2015 +0200
+++ b/app/controller/form/Probe.js	Mon Apr 20 16:49:49 2015 +0200
@@ -87,6 +87,7 @@
 
     discard: function(button) {
         var formPanel = button.up('form');
+        formPanel.down('umwelt').store.clearFilter();
         formPanel.getForm().loadRecord(formPanel.getForm().getRecord());
     },
 


More information about the Lada-commits mailing list