Mercurial > lada > lada-client
diff app/view/proben/Edit.js @ 512:8818becb8cde
Probe and Messung window are now maximizable and collapsible.
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Tue, 16 Dec 2014 13:17:24 +0100 |
parents | 0c277c02eaef |
children | 61c76c12bd28 |
line wrap: on
line diff
--- a/app/view/proben/Edit.js Mon Dec 15 10:50:32 2014 +0100 +++ b/app/view/proben/Edit.js Tue Dec 16 13:17:24 2014 +0100 @@ -17,12 +17,15 @@ 'Lada.view.proben.EditForm' ], - title: 'Maske für §3-Proben', + collapsible: true, + maximizable: true, autoShow: true, autoScroll: true, layout: 'fit', initComponent: function() { + var probe = Ext.StoreManager.get('ProbenList').getById(this.modelId); + this.title = '§3-Probe ' + probe.get('probeIdAlt'); this.buttons = [{ text: 'Speichern', action: 'save'