Mercurial > lada > lada-client
diff app/view/orte/CreateForm.js @ 154:16ba7e2465fd
Implemented creating and editing new l_ort. Created editing orte.
author | Torsten Irländer <torsten.irlaender@intevation.de> |
---|---|
date | Tue, 02 Jul 2013 15:28:41 +0200 |
parents | 26ac4c99f8c4 |
children | d6d74718a102 |
line wrap: on
line diff
--- a/app/view/orte/CreateForm.js Tue Jul 02 14:08:18 2013 +0200 +++ b/app/view/orte/CreateForm.js Tue Jul 02 15:28:41 2013 +0200 @@ -26,10 +26,7 @@ for (var i = fields.length - 1; i >= 0; i--){ ffield = form.findField("ort_"+fields[i]); ffield.setValue(ort.get(fields[i])); - ffield.setReadOnly(true); } - } else { - this.setReadOnly(false); } } } @@ -38,7 +35,7 @@ xtype: 'textfield', name: 'ortsTyp', maxLength: 1, - fieldLabel: 'Type' + fieldLabel: 'Typ' }, { xtype: 'textareafield',