comparison app/view/window/MessprogrammOrt.js @ 818:097d4edc2f00

Genprobenwindow can only be created once, also fixed messprogrammortewindow 'close with x and can not reopen' bug
author Dustin Demuth <dustin@intevation.de>
date Fri, 29 May 2015 09:05:06 +0200
parents b8fd43021c29
children def27cdd0dfa
comparison
equal deleted inserted replaced
817:1321efe444f0 818:097d4edc2f00
39 handler: this.apply 39 handler: this.apply
40 }, { 40 }, {
41 text: i18n.getMsg('cancel'), 41 text: i18n.getMsg('cancel'),
42 scope: this, 42 scope: this,
43 handler: function() { 43 handler: function() {
44 this.close() 44 this.close();
45 this.parentWindow.down('messprogrammform') 45 this.parentWindow.down('messprogrammform')
46 .ortWindow = null; 46 .ortWindow = null;
47 } 47 }
48 }]; 48 }];
49 this.width = 900; 49 this.width = 900;
55 activate: function(){ 55 activate: function(){
56 this.getEl().removeCls('window-inactive'); 56 this.getEl().removeCls('window-inactive');
57 }, 57 },
58 deactivate: function(){ 58 deactivate: function(){
59 this.getEl().addCls('window-inactive'); 59 this.getEl().addCls('window-inactive');
60 },
61 close: function () {
62 this.parentWindow.down('messprogrammform')
63 .ortWindow = null;
60 } 64 }
61 }); 65 });
62 66
63 this.items = [{ 67 this.items = [{
64 region: 'west', 68 region: 'west',

http://lada.wald.intevation.org