Changeset 2620 for sandbox/jabberit_messenger/trophy_expresso/js/loadIM.js
- Timestamp:
- 04/22/10 17:12:12 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sandbox/jabberit_messenger/trophy_expresso/js/loadIM.js
r2607 r2620 135 135 } 136 136 137 function clrAllContacts() 138 { 139 getElement("JabberIMRoster").innerHTML = ""; 140 } 141 137 142 function configEvents(pObj, pEvent, pHandler) 138 143 { … … 344 349 timeoutId = null; 345 350 }); 351 352 configEvents( window, 'onkeypress', function() 353 { 354 clearInterval(timeoutId); 355 document.title = oldTitle; 356 timeoutId = null; 357 }); 346 358 } 347 359 } … … 355 367 var coord = arguments[2]; 356 368 var element = getElement('itenContact_' + jid + '_' + index ); 357 369 var action = ( element.getAttribute("subscription") === "not-in-roster" ) ? "Adicionar" : "Autorizar"; 358 370 359 371 if( showhidden == null ) … … 361 373 362 374 var _options = [ 363 [ 'Autorizar', 'loadIM.setAutorization(\''+jid+'\',\''+index+'\')'],364 ['Remover' , 'loadIM.removeContact(\''+jid+'\',\''+index+'\')'],365 ['Renomear' , 'loadIM.renameContact(\''+jid+'\',\''+index+'\')'],366 ['Trocar grupo' , 'loadIM.renameGroup(\''+jid+'\',\''+index+'\')'],375 [ action , 'loadIM.setAutorization(\''+jid+'\',\''+index+'\')'], 376 ['Remover' , 'loadIM.removeContact(\''+jid+'\',\''+index+'\')'], 377 ['Renomear' , 'loadIM.renameContact(\''+jid+'\',\''+index+'\')'], 378 ['Trocar grupo' , 'loadIM.renameGroup(\''+jid+'\',\''+index+'\')'] 367 379 ]; 368 380 … … 568 580 ['Não Disponível', 'xa', '<img src="'+path_jabberit+'templates/default/images/xa.gif" />'], 569 581 ['Ocupado', 'dnd', '<img src="'+path_jabberit+'templates/default/images/dnd.gif" />'], 582 ['Desconectado', 'unavailable', '<img src="'+path_jabberit+'templates/default/images/unavailable.gif" />'], 570 583 ['Mensagem de Status...', 'status', '<img src="'+path_jabberit+'templates/default/images/message_normal.gif" />'] 571 584 ]; … … 692 705 loadIM.prototype.actionButton = actionButton; 693 706 loadIM.prototype.addContact = addContact; 707 loadIM.prototype.clrAllContacts = clrAllContacts; 694 708 loadIM.prototype.configEvents = configEvents; 695 709 loadIM.prototype.getPhotoUser = getPhotoUser;
Note: See TracChangeset
for help on using the changeset viewer.