comparison app/view/form/Ort.js @ 853:e5f72fb491f4

Made Ortform readonly when the probe is readonly
author Dustin Demuth <dustin@intevation.de>
date Fri, 10 Jul 2015 10:07:39 +0200
parents 2ad36c8db968
children a1d72228af00
comparison
equal deleted inserted replaced
852:405810eda690 853:e5f72fb491f4
125 this.down('tfield[name=ortsTyp]').clearWarningOrError(); 125 this.down('tfield[name=ortsTyp]').clearWarningOrError();
126 //this.down('textarea[name=ortszusatztext]').clearWarningOrError(); 126 //this.down('textarea[name=ortszusatztext]').clearWarningOrError();
127 }, 127 },
128 128
129 setReadOnly: function(value) { 129 setReadOnly: function(value) {
130 //this.down('location[name=ort]').setReadOnly(value); 130 this.down('location[name=ort]').setReadOnly(value);
131 this.down('tfield[name=ortsTyp]').setReadOnly(value); 131 this.down('tfield[name=ortsTyp]').setReadOnly(value);
132 this.down('textarea[name=ortszusatztext]').setReadOnly(value); 132 this.down('textarea[name=ortszusatztext]').setReadOnly(value);
133 } 133 }
134 }); 134 });

http://lada.wald.intevation.org