Ignore:
Timestamp:
06/20/08 15:16:25 (16 years ago)
Author:
niltonneto
Message:
 
File:
1 edited

Legend:

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

    r321 r323  
    149149                        if ( !_disconnected ) 
    150150                        { 
    151                                 _conn.go('$this.Ujabber.getContacts', 
    152                                         function(data) 
    153                                         { 
    154                                                 if ( data == 'disconnected' ) 
    155                                                         setTimeout(_contacts, 3000); 
    156                                         } 
    157                                 ); 
     151                                _conn.go('$this.Ujabber.getContacts'); 
    158152                                setTimeout(function() 
    159153                                { 
     
    294288                } 
    295289 
     290                function _check_connection() 
     291                { 
     292                        if ( !_disconnected ) 
     293                                _conn.go('t.checkConnection'); 
     294                } 
     295 
    296296                function Client() 
    297297                { 
    298298                        _request(); 
    299299                        setTimeout(_contacts, 3000); 
     300                        window.setInterval(_check_connection, 20000); 
    300301                } 
    301302 
Note: See TracChangeset for help on using the changeset viewer.