changeset 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 44d7822d0d55
children 7da9161910e4
files app/view/window/About.js
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/app/view/window/About.js	Thu Aug 13 11:48:26 2015 +0200
+++ b/app/view/window/About.js	Thu Aug 13 12:50:41 2015 +0200
@@ -77,10 +77,10 @@
      * This function converts an Array into HTML-paragraphs
      */
     rolesToHtml: function() {
-        var roles = '';
-        var r = Lada.userroles.split(',');
+//        var roles = '';
+//        var r = Lada.userroles.split(',');
         var i;
-        for (i in r){
+        for (i in Lada.userroles){
             roles += '<br />' + r[i];
         }
         return roles;

http://lada.wald.intevation.org