|
|
@ -202,10 +202,16 @@ define('chat', ['taskbar', 'string', 'sounds', 'forum/chats'], function(taskbar,
|
|
|
|
module.close(chatModal);
|
|
|
|
module.close(chatModal);
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
chatModal.find('button[data-action="maximize"]').on('click', function() {
|
|
|
|
|
|
|
|
ajaxify.go('chats/' + username);
|
|
|
|
|
|
|
|
module.close(chatModal);
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
chatModal.on('click', function(e) {
|
|
|
|
chatModal.on('click', function(e) {
|
|
|
|
module.bringModalToTop(chatModal);
|
|
|
|
module.bringModalToTop(chatModal);
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
addSendHandler(chatModal);
|
|
|
|
addSendHandler(chatModal);
|
|
|
|
|
|
|
|
|
|
|
|
getChatMessages(chatModal, function() {
|
|
|
|
getChatMessages(chatModal, function() {
|
|
|
|