Mercurial > lada > lada-client
diff app/view/window/MessungEdit.js @ 875:13c0e64e1873
Applied Patch which was presented in the Workshop: Title of a Messung-Window contains more details
author | Dustin Demuth <dustin@intevation.de> |
---|---|
date | Fri, 17 Jul 2015 15:10:30 +0200 |
parents | 613ad3263e59 |
children | def27cdd0dfa |
line wrap: on
line diff
--- a/app/view/window/MessungEdit.js Fri Jul 17 15:05:37 2015 +0200 +++ b/app/view/window/MessungEdit.js Fri Jul 17 15:10:30 2015 +0200 @@ -43,7 +43,16 @@ this.callParent(arguments); return; } - this.title = 'Messung ' + this.record.get('nebenprobenNr'); + + var messstelle = Ext.data.StoreManager.get('messstellen') + .getById(this.probe.get('mstId')); + + this.title = 'Messung: ' + this.record.get('nebenprobenNr') + + ' zu Probe: ' + this.probe.get('probeIdAlt') + + ' Mst: ' + messstelle.get('messStelle') + + ' editieren.'; + + this.buttons = [{ text: 'Schließen', scope: this,