Mercurial > lada > lada-client
comparison app/view/window/Messprogramm.js @ 861:99c5dd8e9b0f
merged heads
author | Dustin Demuth <dustin@intevation.de> |
---|---|
date | Fri, 10 Jul 2015 18:18:53 +0200 |
parents | 6249b731d438 |
children | def27cdd0dfa |
comparison
equal
deleted
inserted
replaced
860:03f39ddae596 | 861:99c5dd8e9b0f |
---|---|
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'), |