- Timestamp:
- 12/21/10 20:28:30 (17 months ago)
- Files:
-
- 1 modified
-
HelpIM3/branches/chatgroups/htdocs/chat.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
HelpIM3/branches/chatgroups/htdocs/chat.js
r1352 r1354 322 322 function(user) { 323 323 if (user.role == 'participant') { 324 changeRole(user. fulljid, 'visitor');324 changeRole(user.nick, 'visitor'); 325 325 } 326 326 } … … 329 329 HIM.el.show('participantsButton'); 330 330 }; 331 HIM.el.show('visitorsButton'); 331 332 HIM.el.byId('participantsButton').onclick = function() { 332 333 roster.users.forEach( 333 334 function(user) { 334 335 if (user.role == 'visitor') { 335 changeRole(user. fulljid, 'participant');336 changeRole(user.nick, 'participant'); 336 337 } 337 338 }
