Mercurial > lada > lada-client
comparison app/view/widgets/Messmethode.js @ 496:d07e5086a64b
Moved stammdaten stores to app.js and load them via storemanager.
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Thu, 06 Nov 2014 10:35:35 +0100 |
parents | 850ccfe5f3c4 |
children | 7c0653e8d9f7 |
comparison
equal
deleted
inserted
replaced
495:649bf1d08531 | 496:d07e5086a64b |
---|---|
24 typeAhead: false, | 24 typeAhead: false, |
25 minChars: 0, | 25 minChars: 0, |
26 tpl: '<tpl for="."><div class="x-combo-list-item x-boundlist-item" >{id} - {messmethode}</div></tpl>', | 26 tpl: '<tpl for="."><div class="x-combo-list-item x-boundlist-item" >{id} - {messmethode}</div></tpl>', |
27 | 27 |
28 initComponent: function() { | 28 initComponent: function() { |
29 this.store = Ext.data.StoreManager.get('StaMessmethoden'); | 29 this.store = Ext.data.StoreManager.get('staMessmethoden'); |
30 if (!this.store) { | 30 if (!this.store) { |
31 this.store = Ext.create('Lada.store.StaMessmethoden'); | 31 this.store = Ext.create('Lada.store.StaMessmethoden'); |
32 } | 32 } |
33 this.callParent(arguments); | 33 this.callParent(arguments); |
34 } | 34 } |