Mercurial > lada > lada-client
changeset 985:abc2e9fe5069
Handle Fertig Flag like all other Attributes
author | Dustin Demuth <dustin@intevation.de> |
---|---|
date | Thu, 10 Dec 2015 09:28:26 +0100 |
parents | ea477f62a667 |
children | 53954a9fd6e7 0ca27b761584 |
files | app/view/form/Messung.js |
diffstat | 1 files changed, 1 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/app/view/form/Messung.js Mon Nov 30 14:52:59 2015 +0100 +++ b/app/view/form/Messung.js Thu Dec 10 09:28:26 2015 +0100 @@ -325,9 +325,6 @@ this.down('messmethode[name=mmtId]').setReadOnly(value); this.down('datetime[name=messzeitpunkt]').setReadOnly(value); this.down('numberfield[name=messdauer]').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); - } + this.down('chkbox[name=fertig]').setReadOnly(value); } });