[Lada-commits] [PATCH] Fixed typos in fields
Wald Commits
scm-commit at wald.intevation.org
Tue Dec 3 17:08:52 CET 2013
# HG changeset patch
# User Raimund Renkert <raimund.renkert at intevation.de>
# Date 1386086924 -3600
# Node ID a122424f2f0f93cc8f69df2b540d9efcf937f56b
# Parent 52d9af2cf6f1742f8aba64c6b1001a2c1fffa021
Fixed typos in fields.
diff -r 52d9af2cf6f1 -r a122424f2f0f app/store/Messgroessen.js
--- 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();
diff -r 52d9af2cf6f1 -r a122424f2f0f app/view/messwerte/List.js
--- 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');
}
},
{
diff -r 52d9af2cf6f1 -r a122424f2f0f app/view/widgets/Messgroesse.js
--- 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
diff -r 52d9af2cf6f1 -r a122424f2f0f app/view/widgets/Messmethode.js
--- 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
More information about the Lada-commits
mailing list