Mercurial > lada > lada-client
comparison app/view/form/Location.js @ 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 | a1d72228af00 |
comparison
equal
deleted
inserted
replaced
876:6451d095ff4e | 877:a58c006f869c |
---|---|
60 items: [{ | 60 items: [{ |
61 xtype: 'tfield', | 61 xtype: 'tfield', |
62 maxLength: 100, | 62 maxLength: 100, |
63 name: 'beschreibung', | 63 name: 'beschreibung', |
64 fieldLabel: 'Beschreibung', | 64 fieldLabel: 'Beschreibung', |
65 width: 280, | |
66 labelWidth: 80 | |
67 }, { | |
68 xtype: 'tfield', | |
69 maxLength: 10, | |
70 name: 'bezeichnung', | |
71 fieldLabel: 'Bezeichnung', | |
72 width: 280, | 65 width: 280, |
73 labelWidth: 80 | 66 labelWidth: 80 |
74 }, { | 67 }, { |
75 xtype: 'staat', | 68 xtype: 'staat', |
76 name: 'staatId', | 69 name: 'staatId', |
149 } | 142 } |
150 }, | 143 }, |
151 | 144 |
152 clearMessages: function() { | 145 clearMessages: function() { |
153 this.down('tfield[name=beschreibung]').clearWarningOrError(); | 146 this.down('tfield[name=beschreibung]').clearWarningOrError(); |
154 this.down('tfield[name=bezeichnung]').clearWarningOrError(); | |
155 this.down('staat[name=staatId]').clearWarningOrError(); | 147 this.down('staat[name=staatId]').clearWarningOrError(); |
156 this.down('verwaltungseinheit[name=verwaltungseinheitId]').clearWarningOrError(); | 148 this.down('verwaltungseinheit[name=verwaltungseinheitId]').clearWarningOrError(); |
157 //this.down('numberfield[name=longitude]').clearWarningOrError(); | 149 //this.down('numberfield[name=longitude]').clearWarningOrError(); |
158 //this.down('numberfield[name=latitude]').clearWarningOrError(); | 150 //this.down('numberfield[name=latitude]').clearWarningOrError(); |
159 //this.down('numberfield[name=hoeheLand]').clearWarningOrError(); | 151 //this.down('numberfield[name=hoeheLand]').clearWarningOrError(); |
160 }, | 152 }, |
161 | 153 |
162 setReadOnly: function(value) { | 154 setReadOnly: function(value) { |
163 this.down('tfield[name=beschreibung]').setReadOnly(value); | 155 this.down('tfield[name=beschreibung]').setReadOnly(value); |
164 this.down('tfield[name=bezeichnung]').setReadOnly(value); | |
165 this.down('staat[name=staatId]').setReadOnly(value); | 156 this.down('staat[name=staatId]').setReadOnly(value); |
166 this.down('verwaltungseinheit[name=verwaltungseinheitId]').setReadOnly(value); | 157 this.down('verwaltungseinheit[name=verwaltungseinheitId]').setReadOnly(value); |
167 this.down('numberfield[name=longitude]').setReadOnly(value); | 158 this.down('numberfield[name=longitude]').setReadOnly(value); |
168 this.down('numberfield[name=latitude]').setReadOnly(value); | 159 this.down('numberfield[name=latitude]').setReadOnly(value); |
169 this.down('numberfield[name=hoeheLand]').setReadOnly(value); | 160 this.down('numberfield[name=hoeheLand]').setReadOnly(value); |