- Timestamp:
- 04/26/10 17:18:32 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sandbox/jabberit_messenger/trophy_expresso/js/trophyim.js
r2626 r2629 413 413 onConnect : function(status) 414 414 { 415 if( status == Strophe.Status.CONNECTING ) 415 var loading_gif = document.getElementById("JabberIMRosterLoadingGif"); 416 417 loading_gif.style.display = "block"; 418 419 if( status == Strophe.Status.CONNECTING ) 416 420 { 417 421 Strophe.info('Strophe is connecting.'); … … 420 424 if( status == Strophe.Status.CONNFAIL ) 421 425 { 422 426 TrophyIM.delCookie('trophyim_bosh_xid'); 423 427 TrophyIM.statusConn.connected = false; 424 428 } … … 431 435 if( status == Strophe.Status.DISCONNECTED ) 432 436 { 433 437 TrophyIM.delCookie('trophyim_bosh_xid'); 434 438 435 439 TrophyIM.statusConn.connected = false; … … 438 442 { 439 443 TrophyIM.showLogin(); 440 441 444 442 445 },10000); … … 840 843 { 841 844 var users = new Array(); 845 846 var loading_gif = document.getElementById("JabberIMRosterLoadingGif"); 847 848 if( loading_gif.style.display == "block" ) 849 loading_gif.style.display = "none"; 850 851 // loading_gif.parentNode.removeChild(loading_gif); 842 852 843 853 for( var user in TrophyIM.rosterObj.roster )
Note: See TracChangeset
for help on using the changeset viewer.