Changeset 2983 for trunk/jmessenger/js/jscode/loadIM.js
- Timestamp:
- 06/30/10 14:52:09 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/jmessenger/js/jscode/loadIM.js
r2977 r2983 195 195 } 196 196 197 function addNewUser() 198 { 199 addUser.newUser(); 200 } 201 197 202 function autoStatus() 198 203 { … … 765 770 var _element = arguments[0] 766 771 var _parent = _element.parentNode; 767 768 _parent.removeChild( _element ); 772 773 if( _element ) 774 _parent.removeChild( _element ); 769 775 } 770 776 } … … 902 908 903 909 TrophyIM.setAutorization( jidTo, Base64.decode(this.getUserCurrent().jid), 'subscribed'); 910 911 removeElement( getElement('itenContactNotification_' + jidTo ) ); 904 912 905 913 case 'subscribe' : … … 914 922 } 915 923 } 916 917 setTimeout(function()918 {919 if( getElement('itenContactNotification_' + jidTo ) )920 loadscript.removeElement( getElement('itenContactNotification_' + jidTo ) );921 },500);922 923 924 } 924 925 … … 1334 1335 loadIM.prototype.actionButton = actionButton; 1335 1336 loadIM.prototype.addContact = addContact; 1337 loadIM.prototype.addNewUser = addNewUser; 1336 1338 loadIM.prototype.clrAllContacts = clrAllContacts; 1337 1339 loadIM.prototype.configEvents = configEvents;
Note: See TracChangeset
for help on using the changeset viewer.