Ignore:
Timestamp:
09/11/07 17:35:40 (17 years ago)
Author:
niltonneto
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/instant_messenger/js/im_functions.js

    r65 r67  
    77           this.UsersNot        = []; 
    88           this.userPrefe   = false; 
    9            this.im_time_        = false; 
    109        } 
    1110 
     
    263262                 else 
    264263                        offline = eval(IM_Preferences.LoadPreferences('ch_offline')); 
     264 
    265265                 var group = func.byId("all_groups").firstChild; 
    266266                 while ( group ) 
    267267         { 
    268                         var contact = group.firstChild.nextSibling; 
    269                         while ( contact = contact.nextSibling ) 
     268                        var contact = group.firstChild; 
     269                        while ( contact ) 
    270270                        { 
    271                                 if(func.byId(contact.id)) 
     271                                if(contact.tagName == "DIV") 
    272272                                { 
    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) 
    275275                                                func.byId(contact.id).style.display = "none"; 
    276276                                        else 
    277277                                                func.byId(contact.id).style.display = "block"; 
    278278                                } 
     279                                contact = contact.nextSibling; 
    279280                        } 
    280281                        group = group.nextSibling; 
     
    626627           var form_menu_button_right = '<dl style="z-index:99999">'+ 
    627628                                        '<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>'+ 
    629629                                        '<dt><a href="javascript:void(0);" onclick="javascript:IM_Preferences.Update_Group(\''+pElement+'\');"><img src="'+img_group_close.src+'">' + IM.get_lang('Group') + '</a>'+ 
    630630                                        '<dt><a href="javascript:void(0);" onclick="javascript:IM_Preferences.RemoveContact(\''+pElement+'\');"><img src="'+img_group_close.src+'">' + IM.get_lang('Delete') + '</a>'+ 
     
    666666                                                '<item function="IM_Preferences.Add_userLoad()" lang="'+IM.get_lang('Add Contact')+'"/>' + 
    667667                                                '<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')+'"/>' + 
    669669                                                '<item function="IM_Preferences.yourPreferences()" lang="'+IM.get_lang('preferences')+'"/>' + 
    670670                                        '</menu>'; 
Note: See TracChangeset for help on using the changeset viewer.