Mercurial > lada > lada-client
comparison app/view/widget/Netzbetreiber.js @ 755:3637c453f67d
Enabled Creation of a Messprogramm, an empty Window is now shown. The save operation leads to a E 500
author | Dustin Demuth <dustin@intevation.de> |
---|---|
date | Wed, 06 May 2015 10:27:58 +0200 |
parents | 2e8da590ea0c |
children | 60b15e3983a6 |
comparison
equal
deleted
inserted
replaced
754:6b0d0e62f7d7 | 755:3637c453f67d |
---|---|
13 extend: 'Lada.view.widget.base.ComboBox', | 13 extend: 'Lada.view.widget.base.ComboBox', |
14 alias: 'widget.netzbetreiber', | 14 alias: 'widget.netzbetreiber', |
15 store: 'StaNetzbetreiber', | 15 store: 'StaNetzbetreiber', |
16 displayField: 'netzbetreiber', | 16 displayField: 'netzbetreiber', |
17 valueField: 'id', | 17 valueField: 'id', |
18 emptyText: 'Wählen Sie einen Netzbetreiber', | |
19 // Enable filtering of comboboxes | 18 // Enable filtering of comboboxes |
20 queryMode: 'local', | 19 queryMode: 'local', |
21 triggerAction: 'all', | 20 triggerAction: 'all', |
22 typeAhead: false, | 21 typeAhead: false, |
23 minChars: 0, | 22 minChars: 0, |
24 | 23 |
25 initComponent: function() { | 24 initComponent: function() { |
25 var i18n = Lada.getApplication().bundle; | |
26 this.emptyText = i18n.getMsg('emptytext.probenart'); | |
27 | |
26 this.store = Ext.data.StoreManager.get('netzbetreiber'); | 28 this.store = Ext.data.StoreManager.get('netzbetreiber'); |
27 if (!this.store) { | 29 if (!this.store) { |
28 this.store = Ext.create('Lada.store.Netzbetreiber'); | 30 this.store = Ext.create('Lada.store.Netzbetreiber'); |
29 } | 31 } |
30 else { | 32 else { |