User:Ahecht/useridentifier.js: Difference between revisions
From Test Wiki
debug
(debug) |
(debug) |
||
Line 98: | Line 98: | ||
d2.title+='\nGroups: '+r.groups.join(', '); | d2.title+='\nGroups: '+r.groups.join(', '); | ||
} | } | ||
if(globaluserinfo !== null && globaluserinfo.groups && globaluserinfo.groups.length>0){ | |||
d.appendChild(document.createElement('BR')); | d.appendChild(document.createElement('BR')); | ||
d.appendChild(document.createTextNode('Global groups: '+globaluserinfo.groups.join(', '))); | d.appendChild(document.createTextNode('Global groups: '+globaluserinfo.groups.join(', '))); | ||
Line 113: | Line 113: | ||
} | } | ||
d2.title+='\nGlobal groups: '+globaluserinfo.groups.join(', '); | d2.title+='\nGlobal groups: '+globaluserinfo.groups.join(', '); | ||
} | } | ||
if(!d2.firstChild){ | if(!d2.firstChild){ | ||
var i=document.createElement('IMG'); | var i=document.createElement('IMG'); |