Mercurial > lada > lada-client
comparison app/view/form/Location.js @ 852:405810eda690
removed beschreibung field from setReadOnly
author | Dustin Demuth <dustin@intevation.de> |
---|---|
date | Fri, 10 Jul 2015 10:06:46 +0200 |
parents | dd9b77e2532b |
children | 6451d095ff4e |
comparison
equal
deleted
inserted
replaced
851:c89d6de27fd3 | 852:405810eda690 |
---|---|
141 } | 141 } |
142 } | 142 } |
143 }, | 143 }, |
144 | 144 |
145 clearMessages: function() { | 145 clearMessages: function() { |
146 this.down('tfield[name=beschreibung]').clearWarningOrError(); | |
147 this.down('tfield[name=bezeichnung]').clearWarningOrError(); | 146 this.down('tfield[name=bezeichnung]').clearWarningOrError(); |
148 this.down('staat[name=staatId]').clearWarningOrError(); | 147 this.down('staat[name=staatId]').clearWarningOrError(); |
149 this.down('verwaltungseinheit[name=verwaltungseinheitId]').clearWarningOrError(); | 148 this.down('verwaltungseinheit[name=verwaltungseinheitId]').clearWarningOrError(); |
150 //this.down('numberfield[name=longitude]').clearWarningOrError(); | 149 //this.down('numberfield[name=longitude]').clearWarningOrError(); |
151 //this.down('numberfield[name=latitude]').clearWarningOrError(); | 150 //this.down('numberfield[name=latitude]').clearWarningOrError(); |
152 //this.down('numberfield[name=hoeheLand]').clearWarningOrError(); | 151 //this.down('numberfield[name=hoeheLand]').clearWarningOrError(); |
153 }, | 152 }, |
154 | 153 |
155 setReadOnly: function(value) { | 154 setReadOnly: function(value) { |
156 this.down('tfield[name=beschreibung]').setReadOnly(value); | |
157 this.down('tfield[name=bezeichnung]').setReadOnly(value); | 155 this.down('tfield[name=bezeichnung]').setReadOnly(value); |
158 this.down('staat[name=staatId]').setReadOnly(value); | 156 this.down('staat[name=staatId]').setReadOnly(value); |
159 this.down('verwaltungseinheit[name=verwaltungseinheitId]').setReadOnly(value); | 157 this.down('verwaltungseinheit[name=verwaltungseinheitId]').setReadOnly(value); |
160 this.down('numberfield[name=longitude]').setReadOnly(value); | 158 this.down('numberfield[name=longitude]').setReadOnly(value); |
161 this.down('numberfield[name=latitude]').setReadOnly(value); | 159 this.down('numberfield[name=latitude]').setReadOnly(value); |