Changeset 67 for trunk/instant_messenger/js/im_functions.js
- Timestamp:
- 09/11/07 17:35:40 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/instant_messenger/js/im_functions.js
r65 r67 7 7 this.UsersNot = []; 8 8 this.userPrefe = false; 9 this.im_time_ = false;10 9 } 11 10 … … 263 262 else 264 263 offline = eval(IM_Preferences.LoadPreferences('ch_offline')); 264 265 265 var group = func.byId("all_groups").firstChild; 266 266 while ( group ) 267 267 { 268 var contact = group.firstChild .nextSibling;269 while ( contact = contact.nextSibling)268 var contact = group.firstChild; 269 while ( contact ) 270 270 { 271 if( func.byId(contact.id))271 if(contact.tagName == "DIV") 272 272 { 273 var childF = func.byId(contact.id).firstChild;274 if( childF.src == img_unavailable.src && !offline 273 var childF = contact.firstChild; 274 if( childF.src == img_unavailable.src && !offline) 275 275 func.byId(contact.id).style.display = "none"; 276 276 else 277 277 func.byId(contact.id).style.display = "block"; 278 278 } 279 contact = contact.nextSibling; 279 280 } 280 281 group = group.nextSibling; … … 626 627 var form_menu_button_right = '<dl style="z-index:99999">'+ 627 628 '<dt><a href="javascript:void(0);" onclick="javascript:IM_Preferences.Update_NickName(\''+pElement+'\');"><img src="'+img_group_close.src+'">' + IM.get_lang('Nick') + '</a>'+ 628 '<dt><a href="javascript:void(0);" onclick="javascript:IM_Preferences.SendFile(\''+pElement+'\');"><img src="'+img_group_close.src+'">' + IM.get_lang('Send File') + '</a>'+629 629 '<dt><a href="javascript:void(0);" onclick="javascript:IM_Preferences.Update_Group(\''+pElement+'\');"><img src="'+img_group_close.src+'">' + IM.get_lang('Group') + '</a>'+ 630 630 '<dt><a href="javascript:void(0);" onclick="javascript:IM_Preferences.RemoveContact(\''+pElement+'\');"><img src="'+img_group_close.src+'">' + IM.get_lang('Delete') + '</a>'+ … … 666 666 '<item function="IM_Preferences.Add_userLoad()" lang="'+IM.get_lang('Add Contact')+'"/>' + 667 667 '<item function="IM_Preferences.Remove_userLoad()" lang="'+IM.get_lang('Remove Contact')+'"/>' + 668 '<item function="IM_Preferences.vCard()" lang="'+IM.get_lang(' Information')+'"/>' +668 '<item function="IM_Preferences.vCard()" lang="'+IM.get_lang('Vcard')+'"/>' + 669 669 '<item function="IM_Preferences.yourPreferences()" lang="'+IM.get_lang('preferences')+'"/>' + 670 670 '</menu>';
Note: See TracChangeset
for help on using the changeset viewer.