Cast groups as string, fixes bug oc-1309. Thanks to nderambure.
This commit is contained in:
parent
ea2e76eecc
commit
7050f0fa67
1 changed files with 1 additions and 1 deletions
|
@ -87,7 +87,7 @@ $(document).ready(function(){
|
|||
var user=element.data('username');
|
||||
if($(element).attr('class') == 'groupsselect'){
|
||||
if(element.data('userGroups')){
|
||||
checked=element.data('userGroups').split(', ');
|
||||
checked=String(element.data('userGroups')).split(', ');
|
||||
}
|
||||
if(user){
|
||||
var checkHandeler=function(group){
|
||||
|
|
Loading…
Reference in a new issue