Mercurial > lada > lada-client
diff app/view/form/Messung.js @ 854:a031b98c7edc
Geplant-Checkbox for Messungen is now ReadOnly
author | Dustin Demuth <dustin@intevation.de> |
---|---|
date | Fri, 10 Jul 2015 10:20:13 +0200 |
parents | 7f11b75e0188 |
children | f1e964b3aad6 |
line wrap: on
line diff
--- a/app/view/form/Messung.js Fri Jul 10 10:07:39 2015 +0200 +++ b/app/view/form/Messung.js Fri Jul 10 10:20:13 2015 +0200 @@ -108,6 +108,7 @@ }, { xtype: 'chkbox', name: 'geplant', + readOnly: true, margin: '0, 10, 5, 0', fieldLabel: 'Geplant', width: 300, @@ -171,7 +172,6 @@ this.down('messmethode[name=mmtId]').setReadOnly(value); this.down('datetime[name=messzeitpunkt]').setReadOnly(value); this.down('numberfield[name=messdauer]').setReadOnly(value); - this.down('chkbox[name=geplant]').setReadOnly(value); if (!this.getForm().getRecord().get('owner')) { //Only set this Field to Readonly when the User is NOT the Owner of the Record. this.down('chkbox[name=fertig]').setReadOnly(value);