Mercurial > lada > lada-client
comparison app/view/window/About.js @ 914:21b139cc41b2
Fixed parsing user roles in about dialog.
author | Raimund Renkert <rrenkert@intevation.de> |
---|---|
date | Thu, 13 Aug 2015 12:50:41 +0200 |
parents | def27cdd0dfa |
children | 7da9161910e4 |
comparison
equal
deleted
inserted
replaced
913:44d7822d0d55 | 914:21b139cc41b2 |
---|---|
75 | 75 |
76 /** | 76 /** |
77 * This function converts an Array into HTML-paragraphs | 77 * This function converts an Array into HTML-paragraphs |
78 */ | 78 */ |
79 rolesToHtml: function() { | 79 rolesToHtml: function() { |
80 var roles = ''; | 80 // var roles = ''; |
81 var r = Lada.userroles.split(','); | 81 // var r = Lada.userroles.split(','); |
82 var i; | 82 var i; |
83 for (i in r){ | 83 for (i in Lada.userroles){ |
84 roles += '<br />' + r[i]; | 84 roles += '<br />' + r[i]; |
85 } | 85 } |
86 return roles; | 86 return roles; |
87 } | 87 } |
88 }); | 88 }); |