diff app/view/widget/Betriebsart.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 d2ee6858f452
line wrap: on
line diff
--- a/app/view/widget/Betriebsart.js	Tue May 05 17:22:38 2015 +0200
+++ b/app/view/widget/Betriebsart.js	Wed May 06 10:27:58 2015 +0200
@@ -31,9 +31,11 @@
 
     displayField: 'betriebsart',
     valueField: 'betriebsartId',
-    emptyText: 'Wählen Sie eine Betriebsart',
 
     initComponent: function() {
+        var i18n = Lada.getApplication().bundle;
+        this.emptyText = i18n.getMsg('emptytext.probenart');
+
         this.store = Ext.data.StoreManager.get('betriebsartStore')
         this.store.clearFilter();
         this.callParent(arguments);

http://lada.wald.intevation.org