Mercurial > lada > lada-client
diff app/view/window/ProbeEdit.js @ 1051:981339d774b8
merged stammdatengrids to default.
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Tue, 01 Mar 2016 14:12:39 +0100 |
parents | 4d4de99bbe53 2adc329d90fe |
children | 8280cd5694e5 |
line wrap: on
line diff
--- a/app/view/window/ProbeEdit.js Mon Feb 29 15:10:17 2016 +0100 +++ b/app/view/window/ProbeEdit.js Tue Mar 01 14:12:39 2016 +0100 @@ -75,7 +75,7 @@ padding: '5, 5', margin: 5, items: [{ - xtype: 'ortgrid', + xtype: 'ortszuordnunggrid', recordId: this.record.get('id') }] }, { @@ -182,8 +182,9 @@ // Disable only when the User is not the owner of the Probe // Works in symbiosis with success callback some lines above. this.down('fset[name=messungen]').down('messunggrid').setReadOnly(true); + this.down('fset[name=messungen]').down('messunggrid').readOnly = true; } - this.down('fset[name=orte]').down('ortgrid').setReadOnly(true); + this.down('fset[name=orte]').down('ortszuordnunggrid').setReadOnly(true); this.down('fset[name=probenzusatzwerte]').down('probenzusatzwertgrid').setReadOnly(true); this.down('fset[name=pkommentare]').down('pkommentargrid').setReadOnly(true); }, @@ -193,7 +194,7 @@ */ enableChildren: function() { this.down('fset[name=messungen]').down('messunggrid').setReadOnly(false); - this.down('fset[name=orte]').down('ortgrid').setReadOnly(false); + this.down('fset[name=orte]').down('ortszuordnunggrid').setReadOnly(false); this.down('fset[name=probenzusatzwerte]').down('probenzusatzwertgrid').setReadOnly(false); this.down('fset[name=pkommentare]').down('pkommentargrid').setReadOnly(false); },