[Lada-commits] [PATCH 4 of 4] Handle Fertig Flag like all other Attributes
Wald Commits
scm-commit at wald.intevation.org
Thu Dec 10 09:29:18 CET 2015
# HG changeset patch
# User Dustin Demuth <dustin at intevation.de>
# Date 1449736106 -3600
# Node ID abc2e9fe50693a47b736fc755518b6fbb195d9e4
# Parent ea477f62a667a5919ea1f391b5262d9b123b9d41
Handle Fertig Flag like all other Attributes
diff -r ea477f62a667 -r abc2e9fe5069 app/view/form/Messung.js
--- 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);
}
});
More information about the Lada-commits
mailing list