Mercurial > lada > lada-client
comparison app/view/window/MessungCreate.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 | 13c0e64e1873 |
comparison
equal
deleted
inserted
replaced
708:2ad36c8db968 | 709:6f6d2df00130 |
---|---|
34 scope: this, | 34 scope: this, |
35 handler: this.close | 35 handler: this.close |
36 }]; | 36 }]; |
37 this.width = 700; | 37 this.width = 700; |
38 | 38 |
39 // add listeners to change the window appearence when it becomes inactive | |
40 this.on({ | |
41 activate: function(){ | |
42 this.getEl().removeCls('window-inactive'); | |
43 }, | |
44 deactivate: function(){ | |
45 this.getEl().addCls('window-inactive'); | |
46 } | |
47 }); | |
48 | |
39 this.items = [{ | 49 this.items = [{ |
40 border: 0, | 50 border: 0, |
41 autoScroll: true, | 51 autoScroll: true, |
42 items: [{ | 52 items: [{ |
43 xtype: 'messungform' | 53 xtype: 'messungform' |