diff app/view/grid/Status.js @ 1001:e92931b8f6b0

A fix which is supposed to reload the statuswerte store, when the Add button is used, part 2
author Dustin Demuth <dustin@intevation.de>
date Wed, 13 Jan 2016 15:24:56 +0100
parents 5beb2581a989
children d8e74bd89d6b
line wrap: on
line diff
--- a/app/view/grid/Status.js	Wed Jan 13 15:19:42 2016 +0100
+++ b/app/view/grid/Status.js	Wed Jan 13 15:24:56 2016 +0100
@@ -29,7 +29,7 @@
         this.emptyText = i18n.getMsg('statusgrid.emptyText');
 
         this.statusWerteStore = Ext.create('Lada.store.StatusWerte');
-        statusWerteStore.load({
+        this.statusWerteStore.load({
             params: {
                 messungsId: this.recordId
             }
@@ -141,7 +141,7 @@
             },
             editor: {
                 xtype: 'combobox',
-                store: statusWerteStore,
+                store: this.statusWerteStore,
                 queryMode: 'local',
                 displayField: 'wert',
                 valueField: 'id',

http://lada.wald.intevation.org