changeset 445:a122424f2f0f

Fixed typos in fields.
author Raimund Renkert <raimund.renkert@intevation.de>
date Tue, 03 Dec 2013 17:08:44 +0100
parents 52d9af2cf6f1
children b3e806045a5a
files app/store/Messgroessen.js app/view/messwerte/List.js app/view/widgets/Messgroesse.js app/view/widgets/Messmethode.js
diffstat 4 files changed, 7 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/app/store/Messgroessen.js	Tue Dec 03 11:29:27 2013 +0100
+++ b/app/store/Messgroessen.js	Tue Dec 03 17:08:44 2013 +0100
@@ -3,9 +3,9 @@
  */
 Ext.define('Lada.store.Messgroessen', {
     extend: 'Ext.data.Store',
-    fields: ['messgroesseId', 'messgro0esse'],
+    fields: ['messgroesseId', 'messgroesse'],
     sorters: [{
-        property: 'messgro0esse',
+        property: 'messgroesse',
         transform: function(val) {
             if (val) {
                 return val.toLowerCase();
--- a/app/view/messwerte/List.js	Tue Dec 03 11:29:27 2013 +0100
+++ b/app/view/messwerte/List.js	Tue Dec 03 17:08:44 2013 +0100
@@ -51,7 +51,7 @@
                 dataIndex: 'messgroesseId',
                 renderer: function(value) {
                     var store = Ext.getStore('Messgroessen');
-                    return store.findRecord('messgroesseId', value).get('messgro0esse');
+                    return store.findRecord('messgroesseId', value).get('messgroesse');
                 }
             },
             {
--- a/app/view/widgets/Messgroesse.js	Tue Dec 03 11:29:27 2013 +0100
+++ b/app/view/widgets/Messgroesse.js	Tue Dec 03 17:08:44 2013 +0100
@@ -5,7 +5,7 @@
         extend: 'Ext.form.ComboBox',
         alias: 'widget.messgroesse',
         store: 'Messgroessen',
-        displayField: 'messgro0esse',
+        displayField: 'messgroesse',
         valueField: 'messgroesseId',
         emptyText:'Wählen Sie eine Messgröße',
         // Enable filtering of comboboxes
--- a/app/view/widgets/Messmethode.js	Tue Dec 03 11:29:27 2013 +0100
+++ b/app/view/widgets/Messmethode.js	Tue Dec 03 17:08:44 2013 +0100
@@ -1,5 +1,5 @@
 var mmtStore = Ext.create('Ext.data.Store', {
-    fields: ['mmtId', 'messmethhode'],
+    fields: ['mmtId', 'messmethode'],
     sorters: [{
         property: 'mmtId'
     }],
@@ -20,11 +20,11 @@
  * Combobox for Messmethode
  */
 Ext.define('Lada.view.widgets.Messmethode' ,{
-        tpl: '<tpl for="."><div class="x-combo-list-item x-boundlist-item" >{mmtId} - {messmethhode}</div></tpl>',
+        tpl: '<tpl for="."><div class="x-combo-list-item x-boundlist-item" >{mmtId} - {messmethode}</div></tpl>',
         extend: 'Ext.form.ComboBox',
         alias: 'widget.messmethode',
         store: mmtStore,
-        displayField:'messmethhode',
+        displayField:'messmethode',
         valueField: 'mmtId',
         emptyText:'Wählen Sie eine Messmethode',
         // Enable filtering of comboboxes

http://lada.wald.intevation.org