Mercurial > lada > lada-client
comparison app/view/window/ProbeEdit.js @ 639:fdaabab6f4cc
Open Probe-/Messung-Edit window automatically if a new item was saved
successfully.
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Tue, 17 Mar 2015 14:44:52 +0100 |
parents | f9c2e82ebc20 |
children | f373446325b4 |
comparison
equal
deleted
inserted
replaced
638:d21048cbdbb3 | 639:fdaabab6f4cc |
---|---|
33 if (this.record === null) { | 33 if (this.record === null) { |
34 Ext.Msg.alert('Keine valide Probe ausgewählt!'); | 34 Ext.Msg.alert('Keine valide Probe ausgewählt!'); |
35 this.callParent(arguments); | 35 this.callParent(arguments); |
36 return; | 36 return; |
37 } | 37 } |
38 this.title = '§3-Probe ' + this.record.get('probeId'); | 38 var extendedTitle = this.record.get('probeId') ? this.record.get('probeId') : ''; |
39 this.title = '§3-Probe ' + extendedTitle; | |
39 this.buttons = [{ | 40 this.buttons = [{ |
40 text: 'Schließen', | 41 text: 'Schließen', |
41 scope: this, | 42 scope: this, |
42 handler: this.close | 43 handler: this.close |
43 }]; | 44 }]; |