Mercurial > lada > lada-client
comparison app/view/form/Location.js @ 876:6451d095ff4e
Restored Beschreibung Field
author | Dustin Demuth <dustin@intevation.de> |
---|---|
date | Fri, 17 Jul 2015 15:18:06 +0200 |
parents | 405810eda690 |
children | a58c006f869c |
comparison
equal
deleted
inserted
replaced
875:13c0e64e1873 | 876:6451d095ff4e |
---|---|
56 action: 'discard', | 56 action: 'discard', |
57 disabled: true | 57 disabled: true |
58 }] | 58 }] |
59 }], | 59 }], |
60 items: [{ | 60 items: [{ |
61 xtype: 'tfield', | |
62 maxLength: 100, | |
63 name: 'beschreibung', | |
64 fieldLabel: 'Beschreibung', | |
65 width: 280, | |
66 labelWidth: 80 | |
67 }, { | |
61 xtype: 'tfield', | 68 xtype: 'tfield', |
62 maxLength: 10, | 69 maxLength: 10, |
63 name: 'bezeichnung', | 70 name: 'bezeichnung', |
64 fieldLabel: 'Bezeichnung', | 71 fieldLabel: 'Bezeichnung', |
65 width: 280, | 72 width: 280, |
141 } | 148 } |
142 } | 149 } |
143 }, | 150 }, |
144 | 151 |
145 clearMessages: function() { | 152 clearMessages: function() { |
153 this.down('tfield[name=beschreibung]').clearWarningOrError(); | |
146 this.down('tfield[name=bezeichnung]').clearWarningOrError(); | 154 this.down('tfield[name=bezeichnung]').clearWarningOrError(); |
147 this.down('staat[name=staatId]').clearWarningOrError(); | 155 this.down('staat[name=staatId]').clearWarningOrError(); |
148 this.down('verwaltungseinheit[name=verwaltungseinheitId]').clearWarningOrError(); | 156 this.down('verwaltungseinheit[name=verwaltungseinheitId]').clearWarningOrError(); |
149 //this.down('numberfield[name=longitude]').clearWarningOrError(); | 157 //this.down('numberfield[name=longitude]').clearWarningOrError(); |
150 //this.down('numberfield[name=latitude]').clearWarningOrError(); | 158 //this.down('numberfield[name=latitude]').clearWarningOrError(); |
151 //this.down('numberfield[name=hoeheLand]').clearWarningOrError(); | 159 //this.down('numberfield[name=hoeheLand]').clearWarningOrError(); |
152 }, | 160 }, |
153 | 161 |
154 setReadOnly: function(value) { | 162 setReadOnly: function(value) { |
163 this.down('tfield[name=beschreibung]').setReadOnly(value); | |
155 this.down('tfield[name=bezeichnung]').setReadOnly(value); | 164 this.down('tfield[name=bezeichnung]').setReadOnly(value); |
156 this.down('staat[name=staatId]').setReadOnly(value); | 165 this.down('staat[name=staatId]').setReadOnly(value); |
157 this.down('verwaltungseinheit[name=verwaltungseinheitId]').setReadOnly(value); | 166 this.down('verwaltungseinheit[name=verwaltungseinheitId]').setReadOnly(value); |
158 this.down('numberfield[name=longitude]').setReadOnly(value); | 167 this.down('numberfield[name=longitude]').setReadOnly(value); |
159 this.down('numberfield[name=latitude]').setReadOnly(value); | 168 this.down('numberfield[name=latitude]').setReadOnly(value); |