diff 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
line wrap: on
line diff
--- a/app/view/form/Ort.js	Fri Jul 10 10:06:46 2015 +0200
+++ b/app/view/form/Ort.js	Fri Jul 10 10:07:39 2015 +0200
@@ -127,7 +127,7 @@
     },
 
     setReadOnly: function(value) {
-        //this.down('location[name=ort]').setReadOnly(value);
+        this.down('location[name=ort]').setReadOnly(value);
         this.down('tfield[name=ortsTyp]').setReadOnly(value);
         this.down('textarea[name=ortszusatztext]').setReadOnly(value);
     }

http://lada.wald.intevation.org