diff app/view/grid/Probenzusatzwert.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 07dfcdf5b41f
children 479782c96efa
line wrap: on
line diff
--- a/app/view/grid/Probenzusatzwert.js	Thu Feb 18 11:19:25 2016 +0100
+++ b/app/view/grid/Probenzusatzwert.js	Thu Feb 18 11:21:22 2016 +0100
@@ -177,7 +177,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