diff 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
line wrap: on
line diff
--- a/app/view/widget/Netzbetreiber.js	Tue May 05 17:22:38 2015 +0200
+++ b/app/view/widget/Netzbetreiber.js	Wed May 06 10:27:58 2015 +0200
@@ -15,7 +15,6 @@
     store: 'StaNetzbetreiber',
     displayField: 'netzbetreiber',
     valueField: 'id',
-    emptyText: 'Wählen Sie einen Netzbetreiber',
     // Enable filtering of comboboxes
     queryMode: 'local',
     triggerAction: 'all',
@@ -23,6 +22,9 @@
     minChars: 0,
 
     initComponent: function() {
+        var i18n = Lada.getApplication().bundle;
+        this.emptyText = i18n.getMsg('emptytext.probenart');
+
         this.store = Ext.data.StoreManager.get('netzbetreiber');
         if (!this.store) {
             this.store = Ext.create('Lada.store.Netzbetreiber');

http://lada.wald.intevation.org