diff app/view/form/Messung.js @ 965:a2c2039bb5d9

Disabled StatusGrid Edit when StatusEdit ist false, Load StatuswerteStore differently, removed a bunch of trailing commas
author Dustin Demuth <dustin@intevation.de>
date Thu, 12 Nov 2015 14:25:07 +0100
parents 6a6f2c6fe8ee
children abc2e9fe5069
line wrap: on
line diff
--- a/app/view/form/Messung.js	Thu Nov 12 12:19:02 2015 +0100
+++ b/app/view/form/Messung.js	Thu Nov 12 14:25:07 2015 +0100
@@ -128,7 +128,7 @@
                     preventMark: true, //Do not display error msg.
                     validateValue: function() {
                         return true; //this field is always valid
-                    },
+                    }
                 }, {
                     xtype: 'textfield',
                     name: 'stufe',
@@ -144,7 +144,7 @@
                     preventMark: true, //Do not display error msg.
                     validateValue: function() {
                         return true; //this field is always valid
-                    },
+                    }
                 }]
             }]
         }];
@@ -209,6 +209,7 @@
         if (!swStore) {
             //Set the textfield asynchronously
             swStore = Ext.create('Lada.store.StatusWerte');
+            console.log('loading sw store messungform');
             swStore.load({
                 scope: this,
                 callback: function(records, operation, success) {
@@ -221,7 +222,7 @@
                     if (textfield) {
                         textfield.setRawValue(msg);
                     }
-                },
+                }
             });
         }
         else {
@@ -260,7 +261,7 @@
                     if (textfield) {
                         textfield.setRawValue(msg);
                     }
-                },
+                }
             });
         }
         else {

http://lada.wald.intevation.org