Mercurial > lada > lada-client
changeset 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 | 83a98b61546a |
children | 6de00657cd87 |
files | app/view/messungen/Edit.js app/view/proben/Edit.js index.html |
diffstat | 3 files changed, 8 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/app/view/messungen/Edit.js Mon Dec 15 10:50:32 2014 +0100 +++ b/app/view/messungen/Edit.js Tue Dec 16 13:17:24 2014 +0100 @@ -16,7 +16,9 @@ 'Lada.view.messungen.EditForm' ], - title: 'Maske für Messungen', + collapsible: true, + maximizable: true, + title: 'Messung', autoShow: true, layout: 'fit',
--- 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'
--- a/index.html Mon Dec 15 10:50:32 2014 +0100 +++ b/index.html Tue Dec 16 13:17:24 2014 +0100 @@ -15,7 +15,7 @@ <link rel="stylesheet" type="text/css" href="extjs/resources/css/ext-all-gray.css"> <!-- <x-compile> --> <!-- <x-bootstrap> --> - <script type="text/javascript" src="extjs/ext-all-dev.js"></script> + <script type="text/javascript" src="extjs/ext-all-debug.js"></script> <!-- </x-bootstrap> --> <script type="text/javascript" src="app.js"></script> <!-- </x-compile> -->