[Lada-commits] [PATCH 2 of 4] Fixed a bug where Comboboxes where not loaded

Wald Commits scm-commit at wald.intevation.org
Fri May 8 16:12:32 CEST 2015


# HG changeset patch
# User Dustin Demuth <dustin at intevation.de>
# Date 1431082048 -7200
# Node ID 0e8d4178bb7e6fc7cd75445aa66422be3fc0f8fd
# Parent  1f3837b513d9718392245d3a42f46b5d8d42097f
Fixed a bug where Comboboxes where not loaded

diff -r 1f3837b513d9 -r 0e8d4178bb7e app/store/Messmethoden.js
--- a/app/store/Messmethoden.js	Fri May 08 12:37:36 2015 +0200
+++ b/app/store/Messmethoden.js	Fri May 08 12:47:28 2015 +0200
@@ -26,5 +26,6 @@
             return '';
         }
     }],
-    sortOnLoad: true
+    sortOnLoad: true,
+    autoLoad: true
 });
diff -r 1f3837b513d9 -r 0e8d4178bb7e app/view/grid/Messmethoden.js
--- a/app/view/grid/Messmethoden.js	Fri May 08 12:37:36 2015 +0200
+++ b/app/view/grid/Messmethoden.js	Fri May 08 12:47:28 2015 +0200
@@ -77,6 +77,7 @@
                     return '';
                 }
                 var store = Ext.data.StoreManager.get('messmethoden');
+                console.log(store);
                 if (!store) {
                     store = Ext.create('Lada.store.Messmethoden');
                 }


More information about the Lada-commits mailing list