Ignore:
Timestamp:
03/19/08 17:15:13 (16 years ago)
Author:
niltonneto
Message:
 
File:
1 edited

Legend:

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

    r227 r235  
    11        var focusFlag = true; 
    22         
    3         window.document.onblur  = windowBlur; 
    4         window.document.onclick = windowFocus; 
    5         window.document.onmouseover     = awayTimer; 
     3        //window.document.onblur        = windowBlur; 
     4        //window.document.onclick       = windowFocus; 
     5        //window.document.onmouseover   = awayTimer; 
    66         
    77        var window_title = document.title; 
     
    2525        function load_im_contacts() 
    2626        { 
    27                 im_window.load('_contacts_im_','instant_messenger_content', '<title>Expresso Messenger</title>', 'window.xsl','',true,true,false); 
     27                if( document.getElementById('_contacts_im_' + '_window_master') != null ) 
     28                        im_window.load('_contacts_im_','instant_messenger_content', '<title>Expresso Messenger</title>', 'window.xsl','',true,true,false); 
     29                else 
     30                        alert('Aguarde carregando lista de contatos ....');                      
    2831        } 
    2932         
     
    4649        function awayTimer() 
    4750        { 
    48                 if( _awayTimer_ ) 
     51                /*if( _awayTimer_ ) 
    4952                { 
    5053                        clearTimeout(_awayTimer_); 
     
    5255                                im.presence('available'); 
    5356                } 
    54                 _awayTimer_ = setTimeout("im.set_timeOut()", parseInt(im.timeOut_im) * 60000 ); 
     57                _awayTimer_ = setTimeout("im.set_timeOut()", parseInt(im.timeOut_im) * 60000 );*/ 
    5558        } 
    5659 
Note: See TracChangeset for help on using the changeset viewer.