From: Jan Schneider Date: Mon, 15 Mar 2010 22:57:14 +0000 (+0100) Subject: Try again to fix the array/hash ambiguity. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=148242bc71c3fc3709ebfd3d84c0dbb55c80049d;p=horde.git Try again to fix the array/hash ambiguity. --- diff --git a/kronolith/js/kronolith.js b/kronolith/js/kronolith.js index c5c5fa015..869cf59a2 100644 --- a/kronolith/js/kronolith.js +++ b/kronolith/js/kronolith.js @@ -2406,7 +2406,7 @@ KronolithCore = { } break; case 'groups': - if (perm.value.size()) { + if (!Object.isArray(perm.value)) { $H(perm.value).each(function(group) { this.insertGroupOrUser(type, 'group', group.key); groupPerms = group.value; @@ -2423,7 +2423,7 @@ KronolithCore = { } break; case 'users': - if (perm.value.size()) { + if (!Object.isArray(perm.value)) { $H(perm.value).each(function(user) { if (user.key != Kronolith.conf.user) { this.insertGroupOrUser(type, 'user', user.key);