[Lada-commits] [PATCH] Fixed filter widget creation

Wald Commits scm-commit at wald.intevation.org
Tue Mar 10 15:14:51 CET 2015


# HG changeset patch
# User Raimund Renkert <raimund.renkert at intevation.de>
# Date 1425996933 -3600
# Node ID 54dbb6c44ca6e8bfa7470ac04cece48ffff13e3a
# Parent  8d2cf853eed261f8126945ad4472c96e05d7e275
Fixed filter widget creation.

diff -r 8d2cf853eed2 -r 54dbb6c44ca6 app/controller/Filter.js
--- a/app/controller/Filter.js	Tue Mar 10 14:33:03 2015 +0100
+++ b/app/controller/Filter.js	Tue Mar 10 15:15:33 2015 +0100
@@ -113,14 +113,14 @@
                 });
             }
             else if (type === 'datetime') {
-                field = Ext.create('Lada.view.widgets.Datetime', {
+                field = Ext.create('Lada.view.widget.Datetime', {
                     name: name,
                     labelWidth: 135,
                     fieldLabel: label
                 });
             }
             else if (type === 'bool') {
-                field = Ext.create('Lada.view.widgets.Testdatensatz', {
+                field = Ext.create('Lada.view.widget.Testdatensatz', {
                     name: name,
                     labelWidth: 135,
                     fieldLabel: label,
@@ -128,7 +128,7 @@
                 });
             }
             else if (type === 'listmst') {
-                field = Ext.create('Lada.view.widgets.Messstelle', {
+                field = Ext.create('Lada.view.widget.Messstelle', {
                     name: name,
                     labelWidth: 135,
                     fieldLabel: label,
@@ -136,7 +136,7 @@
                 });
             }
             else if (type === 'listumw') {
-                field = Ext.create('Lada.view.widgets.Umwelt', {
+                field = Ext.create('Lada.view.widget.Umwelt', {
                     name: name,
                     labelWidth: 135,
                     fieldLabel: label,
@@ -144,7 +144,7 @@
                 });
             }
             else if (type === 'listdbasis') {
-                field = Ext.create('Lada.view.widgets.Datenbasis', {
+                field = Ext.create('Lada.view.widget.Datenbasis', {
                     name: name,
                     labelWidth: 135,
                     fieldLabel: label,
@@ -152,7 +152,7 @@
                 });
             }
             else if (type === 'listver') {
-                field = Ext.create('Lada.view.widgets.Verwaltungseinheit', {
+                field = Ext.create('Lada.view.widget.Verwaltungseinheit', {
                     name: name,
                     labelWidth: 135,
                     fieldLabel: label,
@@ -160,7 +160,7 @@
                 });
             }
             else if (type === 'listnetz') {
-                field = Ext.create('Lada.view.widgets.Netzbetreiber', {
+                field = Ext.create('Lada.view.widget.Netzbetreiber', {
                     name: name,
                     labelWidth: 135,
                     fieldLabel: label,


More information about the Lada-commits mailing list