[Lada-commits] [PATCH 5 of 6] removed bezeichnung-feld from location form. As discussed in Workshop

Wald Commits scm-commit at wald.intevation.org
Fri Jul 17 15:54:58 CEST 2015


# HG changeset patch
# User Dustin Demuth <dustin at intevation.de>
# Date 1437139467 -7200
# Node ID a58c006f869c7cd5e34795ef456e8fc3af00e9f8
# Parent  6451d095ff4e0b7f22ba76a710bba24fc33d8f53
removed bezeichnung-feld from location form. As discussed in Workshop

diff -r 6451d095ff4e -r a58c006f869c app/view/form/Location.js
--- 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);


More information about the Lada-commits mailing list