Mercurial > lada > lada-client
comparison app/view/window/About.js @ 890:def27cdd0dfa
Added Documentation to Windows
author | Dustin Demuth <dustin@intevation.de> |
---|---|
date | Thu, 23 Jul 2015 16:40:50 +0200 |
parents | c6e9bcda69b8 |
children | 21b139cc41b2 |
comparison
equal
deleted
inserted
replaced
889:81fc61545638 | 890:def27cdd0dfa |
---|---|
12 Ext.define('Lada.view.window.About', { | 12 Ext.define('Lada.view.window.About', { |
13 extend: 'Ext.window.Window', | 13 extend: 'Ext.window.Window', |
14 | 14 |
15 layout: 'fit', | 15 layout: 'fit', |
16 | 16 |
17 /** | |
18 * This function initialises the Window | |
19 */ | |
17 initComponent: function() { | 20 initComponent: function() { |
18 var i18n = Lada.getApplication().bundle; | 21 var i18n = Lada.getApplication().bundle; |
19 | 22 |
20 // add listeners to change the window appearence when it becomes inactive | 23 // add listeners to change the window appearence when it becomes inactive |
21 this.on({ | 24 this.on({ |
68 }]; | 71 }]; |
69 | 72 |
70 this.callParent(arguments); | 73 this.callParent(arguments); |
71 }, | 74 }, |
72 | 75 |
76 /** | |
77 * This function converts an Array into HTML-paragraphs | |
78 */ | |
73 rolesToHtml: function() { | 79 rolesToHtml: function() { |
74 var roles = ''; | 80 var roles = ''; |
75 var r = Lada.userroles.split(','); | 81 var r = Lada.userroles.split(','); |
76 var i; | 82 var i; |
77 for (i in r){ | 83 for (i in r){ |