diff app/view/grid/Ortszuordnung.js @ 1034:4d4de99bbe53

Get rid of double setting readOnly status of probe window child elements.
author Raimund Renkert <raimund.renkert@intevation.de>
date Thu, 18 Feb 2016 11:21:22 +0100
parents 9ac03f461ab4
children 479782c96efa
line wrap: on
line diff
--- a/app/view/grid/Ortszuordnung.js	Thu Feb 18 11:19:25 2016 +0100
+++ b/app/view/grid/Ortszuordnung.js	Thu Feb 18 11:21:22 2016 +0100
@@ -132,7 +132,8 @@
     },
 
     setReadOnly: function(b) {
-        if (b == true){
+        this.readOnly = b;
+        if (b) {
             //Readonly
             if (this.getPlugin('rowedit')){
                 this.getPlugin('rowedit').disable();

http://lada.wald.intevation.org