comparison 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
comparison
equal deleted inserted replaced
874:031b4431b1b8 875:13c0e64e1873
41 if (this.probe === null) { 41 if (this.probe === null) {
42 Ext.Msg.alert('Zu der Messung existiert keine Probe!'); 42 Ext.Msg.alert('Zu der Messung existiert keine Probe!');
43 this.callParent(arguments); 43 this.callParent(arguments);
44 return; 44 return;
45 } 45 }
46 this.title = 'Messung ' + this.record.get('nebenprobenNr'); 46
47 var messstelle = Ext.data.StoreManager.get('messstellen')
48 .getById(this.probe.get('mstId'));
49
50 this.title = 'Messung: ' + this.record.get('nebenprobenNr')
51 + ' zu Probe: ' + this.probe.get('probeIdAlt')
52 + ' Mst: ' + messstelle.get('messStelle')
53 + ' editieren.';
54
55
47 this.buttons = [{ 56 this.buttons = [{
48 text: 'Schließen', 57 text: 'Schließen',
49 scope: this, 58 scope: this,
50 handler: this.close 59 handler: this.close
51 }]; 60 }];

http://lada.wald.intevation.org