changeset 877:a58c006f869c

removed bezeichnung-feld from location form. As discussed in Workshop
author Dustin Demuth <dustin@intevation.de>
date Fri, 17 Jul 2015 15:24:27 +0200
parents 6451d095ff4e
children 545b8913601d
files app/view/form/Location.js
diffstat 1 files changed, 0 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/app/view/form/Location.js	Fri Jul 17 15:18:06 2015 +0200
+++ b/app/view/form/Location.js	Fri Jul 17 15:24:27 2015 +0200
@@ -65,13 +65,6 @@
                     width: 280,
                     labelWidth: 80
                 }, {
-                    xtype: 'tfield',
-                    maxLength: 10,
-                    name: 'bezeichnung',
-                    fieldLabel: 'Bezeichnung',
-                    width: 280,
-                    labelWidth: 80
-                }, {
                     xtype: 'staat',
                     name: 'staatId',
                     fieldLabel: 'Staat',
@@ -151,7 +144,6 @@
 
     clearMessages: function() {
         this.down('tfield[name=beschreibung]').clearWarningOrError();
-        this.down('tfield[name=bezeichnung]').clearWarningOrError();
         this.down('staat[name=staatId]').clearWarningOrError();
         this.down('verwaltungseinheit[name=verwaltungseinheitId]').clearWarningOrError();
         //this.down('numberfield[name=longitude]').clearWarningOrError();
@@ -161,7 +153,6 @@
 
     setReadOnly: function(value) {
         this.down('tfield[name=beschreibung]').setReadOnly(value);
-        this.down('tfield[name=bezeichnung]').setReadOnly(value);
         this.down('staat[name=staatId]').setReadOnly(value);
         this.down('verwaltungseinheit[name=verwaltungseinheitId]').setReadOnly(value);
         this.down('numberfield[name=longitude]').setReadOnly(value);

http://lada.wald.intevation.org