Mercurial > lada > lada-client
comparison app/view/form/Ortszuordnung.js @ 1335:cba4e0b0e336
Fixed ort grid selection.
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Fri, 03 Feb 2017 17:02:55 +0100 |
parents | 2c5d89886885 |
children | d2f06ce4d43a |
comparison
equal
deleted
inserted
replaced
1334:2c5d89886885 | 1335:cba4e0b0e336 |
---|---|
146 this.callParent(arguments); | 146 this.callParent(arguments); |
147 }, | 147 }, |
148 | 148 |
149 setRecord: function(record) { | 149 setRecord: function(record) { |
150 this.getForm().loadRecord(record); | 150 this.getForm().loadRecord(record); |
151 this.record = record; | |
151 if (!record.get('readonly')) { | 152 if (!record.get('readonly')) { |
152 this.down('[action=setOrt]').enable(); | 153 this.down('[action=setOrt]').enable(); |
153 this.setReadOnly(false); | 154 this.setReadOnly(false); |
154 } | 155 } |
155 else { | 156 else { |