Mercurial > lada > lada-client
comparison 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 |
comparison
equal
deleted
inserted
replaced
511:83a98b61546a | 512:8818becb8cde |
---|---|
15 | 15 |
16 requires: [ | 16 requires: [ |
17 'Lada.view.proben.EditForm' | 17 'Lada.view.proben.EditForm' |
18 ], | 18 ], |
19 | 19 |
20 title: 'Maske für §3-Proben', | 20 collapsible: true, |
21 maximizable: true, | |
21 autoShow: true, | 22 autoShow: true, |
22 autoScroll: true, | 23 autoScroll: true, |
23 layout: 'fit', | 24 layout: 'fit', |
24 | 25 |
25 initComponent: function() { | 26 initComponent: function() { |
27 var probe = Ext.StoreManager.get('ProbenList').getById(this.modelId); | |
28 this.title = '§3-Probe ' + probe.get('probeIdAlt'); | |
26 this.buttons = [{ | 29 this.buttons = [{ |
27 text: 'Speichern', | 30 text: 'Speichern', |
28 action: 'save' | 31 action: 'save' |
29 }, { | 32 }, { |
30 text: 'Abbrechen', | 33 text: 'Abbrechen', |