Mercurial > lada > lada-client
comparison app/controller/form/Ortserstellung.js @ 1360:d1dce50fa9a6
Fix reset button in Ortserstellung form.
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Tue, 07 Feb 2017 18:56:35 +0100 |
parents | 49efc1cc0eac |
children | 5c2d6812d85a |
comparison
equal
deleted
inserted
replaced
1359:49efc1cc0eac | 1360:d1dce50fa9a6 |
---|---|
118 } | 118 } |
119 }); | 119 }); |
120 }, | 120 }, |
121 | 121 |
122 discard: function(button) { | 122 discard: function(button) { |
123 button.up('panel').reset(); | 123 button.up('panel').getForm().reset(); |
124 button.up('panel').down('button [action=save]').setDisabled(true); | |
125 }, | 124 }, |
126 | 125 |
127 /** | 126 /** |
128 * checks if the Messpunkt can be committed. | 127 * checks if the Messpunkt can be committed. |
129 * Disables the save button if false | 128 * Disables the save button if false |