comparison app/view/window/OrtEdit.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 7267bae1d43f
children def27cdd0dfa
comparison
equal deleted inserted replaced
852:405810eda690 853:e5f72fb491f4
126 } 126 }
127 } 127 }
128 }); 128 });
129 } 129 }
130 this.down('ortform').setRecord(record); 130 this.down('ortform').setRecord(record);
131 if (this.probe.get('readonly')) {
132 this.down('ortform').setReadOnly(true);
133 }
131 this.record = record; 134 this.record = record;
132 }, 135 },
133 scope: this 136 scope: this
134 }); 137 });
135 Ext.ClassManager.get('Lada.model.Location').load(this.record.get('ort'), { 138 Ext.ClassManager.get('Lada.model.Location').load(this.record.get('ort'), {

http://lada.wald.intevation.org