diff app/view/widget/Probenart.js @ 754:6b0d0e62f7d7

added Probenintervalle to a Messprogramm... there is still a lot of work needed. For instance for the slider element.
author Dustin Demuth <dustin@intevation.de>
date Tue, 05 May 2015 17:22:38 +0200
parents 2e8da590ea0c
children 1321efe444f0
line wrap: on
line diff
--- a/app/view/widget/Probenart.js	Wed Apr 29 13:04:24 2015 +0200
+++ b/app/view/widget/Probenart.js	Tue May 05 17:22:38 2015 +0200
@@ -15,7 +15,6 @@
     store: 'Probenarten',
     displayField: 'probenart',
     valueField: 'id',
-    emptyText: 'Wählen Sie eine Probenart',
     // 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('probenarten');
         if (!this.store) {
             this.store = Ext.create('Lada.store.Probenarten');

http://lada.wald.intevation.org