comparison app/view/window/Messprogramm.js @ 859:6249b731d438

Close messprogramm windows on probe generation.
author Raimund Renkert <raimund.renkert@intevation.de>
date Fri, 10 Jul 2015 18:13:24 +0200
parents 097d4edc2f00
children def27cdd0dfa
comparison
equal deleted inserted replaced
858:2c686025934a 859:6249b731d438
29 29
30 record: null, 30 record: null,
31 31
32 initComponent: function() { 32 initComponent: function() {
33 var i18n = Lada.getApplication().bundle; 33 var i18n = Lada.getApplication().bundle;
34 var me = this;
34 35
35 if (this.record == null) { 36 if (this.record == null) {
36 this.title = i18n.getMsg('messprogramm.window.create.title'); 37 this.title = i18n.getMsg('messprogramm.window.create.title');
37 } 38 }
38 else { 39 else {
56 } 57 }
57 else { 58 else {
58 this.probenWindow.focus(); 59 this.probenWindow.focus();
59 this.probenWindow.setActive(true); 60 this.probenWindow.setActive(true);
60 } 61 }
62 me.close();
61 } 63 }
62 }, 64 },
63 '->', 65 '->',
64 { 66 {
65 text: i18n.getMsg('close'), 67 text: i18n.getMsg('close'),

http://lada.wald.intevation.org