Changeset 235 for trunk/instant_messenger/js/load.js
- Timestamp:
- 03/19/08 17:15:13 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/instant_messenger/js/load.js
r227 r235 1 1 var focusFlag = true; 2 2 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; 6 6 7 7 var window_title = document.title; … … 25 25 function load_im_contacts() 26 26 { 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 ....'); 28 31 } 29 32 … … 46 49 function awayTimer() 47 50 { 48 if( _awayTimer_ )51 /*if( _awayTimer_ ) 49 52 { 50 53 clearTimeout(_awayTimer_); … … 52 55 im.presence('available'); 53 56 } 54 _awayTimer_ = setTimeout("im.set_timeOut()", parseInt(im.timeOut_im) * 60000 ); 57 _awayTimer_ = setTimeout("im.set_timeOut()", parseInt(im.timeOut_im) * 60000 );*/ 55 58 } 56 59
Note: See TracChangeset
for help on using the changeset viewer.