Mercurial > lada > lada-client
comparison app/view/window/MessungEdit.js @ 709:6f6d2df00130
Added some CSS to make distinction between active and inactice windows more simple for the user
author | Dustin Demuth <dustin@intevation.de> |
---|---|
date | Tue, 07 Apr 2015 17:16:59 +0200 |
parents | c632c7c34029 |
children | f204f30b824a |
comparison
equal
deleted
inserted
replaced
708:2ad36c8db968 | 709:6f6d2df00130 |
---|---|
47 this.buttons = [{ | 47 this.buttons = [{ |
48 text: 'Schließen', | 48 text: 'Schließen', |
49 scope: this, | 49 scope: this, |
50 handler: this.close | 50 handler: this.close |
51 }]; | 51 }]; |
52 | |
53 // add listeners to change the window appearence when it becomes inactive | |
54 this.on({ | |
55 activate: function(){ | |
56 this.getEl().removeCls('window-inactive'); | |
57 }, | |
58 deactivate: function(){ | |
59 this.getEl().addCls('window-inactive'); | |
60 } | |
61 }); | |
62 | |
52 this.width = 700; | 63 this.width = 700; |
53 this.height = Ext.getBody().getViewSize().height - 30; | 64 this.height = Ext.getBody().getViewSize().height - 30; |
54 | 65 |
55 this.items = [{ | 66 this.items = [{ |
56 border: 0, | 67 border: 0, |