comparison 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
comparison
equal deleted inserted replaced
998:4bbb3da88c14 1000:5beb2581a989
20 }, 20 },
21 21
22 recordId: null, 22 recordId: null,
23 readOnly: true, 23 readOnly: true,
24 allowDeselect: true, 24 allowDeselect: true,
25 statusWerteStore: null,
25 26
26 initComponent: function() { 27 initComponent: function() {
27 var i18n = Lada.getApplication().bundle; 28 var i18n = Lada.getApplication().bundle;
28 this.emptyText = i18n.getMsg('statusgrid.emptyText'); 29 this.emptyText = i18n.getMsg('statusgrid.emptyText');
29 30
30 var statusWerteStore = Ext.create('Lada.store.StatusWerte'); 31 this.statusWerteStore = Ext.create('Lada.store.StatusWerte');
31 statusWerteStore.load({ 32 statusWerteStore.load({
32 params: { 33 params: {
33 messungsId: this.recordId 34 messungsId: this.recordId
34 } 35 }
35 }); 36 });

http://lada.wald.intevation.org