Changeset 238 for trunk/instant_messenger/js
- Timestamp:
- 03/20/08 09:46:58 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/instant_messenger/js/client.js
r235 r238 80 80 setTimeout("con.go('$this.Ujabber.getContacts', {'request':"+contacts+"})", 3000); 81 81 } 82 window.onbeforeunload = function(){con.__HTTP__['$this.Ujabber.listen'].abort();} 83 /*window.onbeforeunload = function(){con.__HTTP__['$this.Ujabber.getContacts'].abort();} 84 window.onbeforeunload = function(){con.__HTTP__['$this.Ujabber.getVcard'].abort();} 85 window.onbeforeunload = function(){con.__HTTP__['$this.ldap_im.photo_ldap'].abort();} 86 window.onbeforeunload = function(){con.__HTTP__['$this.Ujabber.setStatus'].abort();} 87 window.onbeforeunload = function(){con.__HTTP__['$this.Ujabber.setPresence'].abort();}*/ 82 83 window.onbeforeunload = function() 84 { 85 disconnected = true; 86 var i; 87 for ( i in con.__HTTP__ ) 88 con.__HTTP__[i].abort(); 89 }; 90 //window.onbeforeunload = function(){con.__HTTP__['$this.Ujabber.listen'].abort();}
Note: See TracChangeset
for help on using the changeset viewer.