From baa0b4d530db8a585692c222d5f5cf185438c68a Mon Sep 17 00:00:00 2001 From: Michael Gapczynski Date: Sat, 11 Aug 2012 11:42:38 -0400 Subject: [PATCH] Cast subadmin groups as strings --- settings/js/users.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/settings/js/users.js b/settings/js/users.js index 5a3820b74d..91d24adafc 100644 --- a/settings/js/users.js +++ b/settings/js/users.js @@ -133,7 +133,7 @@ $(document).ready(function(){ } if($(element).attr('class') == 'subadminsselect'){ if(element.data('subadmin')){ - checked=element.data('subadmin').split(', '); + checked=String(element.data('subadmin')).split(', '); } var checkHandeler=function(group){ if(group=='admin'){