comparison app/controller/form/Probe.js @ 743:e89a31b2c17e

merged heads
author Dustin Demuth <dustin@intevation.de>
date Thu, 23 Apr 2015 16:29:39 +0200
parents 6e28ebbe1a73 a76638970d50
children dd6925ef6028
comparison
equal deleted inserted replaced
742:6e28ebbe1a73 743:e89a31b2c17e
101 * The discard function resets the Location form 101 * The discard function resets the Location form
102 * to its original state. 102 * to its original state.
103 */ 103 */
104 discard: function(button) { 104 discard: function(button) {
105 var formPanel = button.up('form'); 105 var formPanel = button.up('form');
106 formPanel.down('umwelt').store.clearFilter();
106 formPanel.getForm().loadRecord(formPanel.getForm().getRecord()); 107 formPanel.getForm().loadRecord(formPanel.getForm().getRecord());
107 }, 108 },
108 109
109 /** 110 /**
110 * The dirtyForm function enables or disables the save and discard 111 * The dirtyForm function enables or disables the save and discard

http://lada.wald.intevation.org