comparison app/controller/form/Probe.js @ 1066:d198946e5540

Introduced laborMstId as new probe field.
author Raimund Renkert <raimund.renkert@intevation.de>
date Fri, 11 Mar 2016 13:58:04 +0100
parents 24b5684d74d7
children 3c42c06e3a36
comparison
equal deleted inserted replaced
1065:7fa853864d9b 1066:d198946e5540
25 click: this.discard 25 click: this.discard
26 }, 26 },
27 'probeform': { 27 'probeform': {
28 dirtychange: this.dirtyForm 28 dirtychange: this.dirtyForm
29 }, 29 },
30 'probeform messstelle combobox': { 30 'probeform messstellelabor combobox': {
31 expand: this.filter,
32 keydown: this.filter,
33 select: this.setNetzbetreiber 31 select: this.setNetzbetreiber
34 }, 32 },
35 'probeform [xtype="datetime"] field': { 33 'probeform [xtype="datetime"] field': {
36 blur: this.checkDate 34 blur: this.checkDate
37 }, 35 },
153 151
154 formPanel.down('fset[name=entnahmePeriod]').clearMessages(); 152 formPanel.down('fset[name=entnahmePeriod]').clearMessages();
155 formPanel.down('fset[name=sollzeitPeriod]').clearMessages(); 153 formPanel.down('fset[name=sollzeitPeriod]').clearMessages();
156 formPanel.down('datetime[name=probeentnahmeBeginn]').clearWarningOrError(); 154 formPanel.down('datetime[name=probeentnahmeBeginn]').clearWarningOrError();
157 formPanel.down('datetime[name=probeentnahmeEnde]').clearWarningOrError(); 155 formPanel.down('datetime[name=probeentnahmeEnde]').clearWarningOrError();
158 formPanel.down('datetime[name=solldatumBeginn]').clearWarningOrError();
159 formPanel.down('datetime[name=solldatumEnde]').clearWarningOrError();
160 156
161 formPanel.down('umwelt').store.clearFilter(); 157 formPanel.down('umwelt').store.clearFilter();
162 formPanel.getForm().loadRecord(formPanel.getForm().getRecord()); 158 formPanel.setRecord(formPanel.getForm().getRecord());
163 }, 159 },
164 160
165 /** 161 /**
166 * The dirtyForm function enables or disables the save and discard 162 * The dirtyForm function enables or disables the save and discard
167 * button which are present in the toolbar of the form. 163 * button which are present in the toolbar of the form.

http://lada.wald.intevation.org