comparison app/view/form/Messung.js @ 694:a0df1a8dff24

added setReadOnly()
author Dustin Demuth <dustin@intevation.de>
date Thu, 26 Mar 2015 16:02:38 +0100
parents 04cf6b514e3e
children 2ad36c8db968
comparison
equal deleted inserted replaced
693:817524db4017 694:a0df1a8dff24
128 128
129 clearMessages: function() { 129 clearMessages: function() {
130 // TODO this is a stub 130 // TODO this is a stub
131 }, 131 },
132 132
133 setReadonly: function() { 133 setReadOnly: function(value) {
134 // TODO this is a stub 134 this.down('textfield[name=nebenprobenNr]').setReadOnly(value);
135 this.down('messmethode[name=mmtId]').setReadOnly(value);
136 this.down('datetime[name=messzeitpunkt]').setReadOnly(value);
137 this.down('numberfield[name=messdauer]').setReadOnly(value);
138 this.down('chkbox[name=fertig]').setReadOnly(value);
139 this.down('chkbox[name=geplant]').setReadOnly(value);
135 } 140 }
136 }); 141 });

http://lada.wald.intevation.org