Mercurial > lada > lada-client
comparison app/view/widgets/Staat.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 |
---|---|
23 triggerAction : 'all', | 23 triggerAction : 'all', |
24 typeAhead: false, | 24 typeAhead: false, |
25 minChars: 0, | 25 minChars: 0, |
26 | 26 |
27 initComponent: function() { | 27 initComponent: function() { |
28 this.store = Ext.data.StoreManager.get('StaStaaten'); | 28 this.store = Ext.data.StoreManager.get('staStaaten'); |
29 if (!this.store) { | 29 if (!this.store) { |
30 this.store = Ext.create('Lada.store.StaStaaten'); | 30 this.store = Ext.create('Lada.store.StaStaaten'); |
31 } | 31 } |
32 this.callParent(arguments); | 32 this.callParent(arguments); |
33 } | 33 } |