diff app/view/grid/Probenzusatzwert.js @ 1035:479782c96efa

Code style.
author Raimund Renkert <raimund.renkert@intevation.de>
date Thu, 18 Feb 2016 11:21:42 +0100
parents 4d4de99bbe53
children 7e801af49eeb
line wrap: on
line diff
--- a/app/view/grid/Probenzusatzwert.js	Thu Feb 18 11:21:22 2016 +0100
+++ b/app/view/grid/Probenzusatzwert.js	Thu Feb 18 11:21:42 2016 +0100
@@ -180,14 +180,15 @@
         this.readOnly = b;
         if (b) {
             //Readonly
-            if (this.getPlugin('rowedit')){
+            if (this.getPlugin('rowedit')) {
                 this.getPlugin('rowedit').disable();
             }
             this.down('button[action=delete]').disable();
             this.down('button[action=add]').disable();
-        }else{
+        }
+        else {
             //Writable
-            if (this.getPlugin('rowedit')){
+            if (this.getPlugin('rowedit')) {
                 this.getPlugin('rowedit').enable();
             }
             //this.down('button[action=delete]').enable();

http://lada.wald.intevation.org