diff app/view/grid/Status.js @ 1000:5beb2581a989

A fix which is supposed to reload the statuswerte store, when the Add button is used
author Dustin Demuth <dustin@intevation.de>
date Wed, 13 Jan 2016 15:19:42 +0100
parents 4bbb3da88c14
children e92931b8f6b0
line wrap: on
line diff
--- a/app/view/grid/Status.js	Mon Jan 11 11:36:35 2016 +0100
+++ b/app/view/grid/Status.js	Wed Jan 13 15:19:42 2016 +0100
@@ -22,12 +22,13 @@
     recordId: null,
     readOnly: true,
     allowDeselect: true,
+    statusWerteStore: null,
 
     initComponent: function() {
         var i18n = Lada.getApplication().bundle;
         this.emptyText = i18n.getMsg('statusgrid.emptyText');
 
-        var statusWerteStore = Ext.create('Lada.store.StatusWerte');
+        this.statusWerteStore = Ext.create('Lada.store.StatusWerte');
         statusWerteStore.load({
             params: {
                 messungsId: this.recordId

http://lada.wald.intevation.org