This commit is contained in:
Baris Usakli
2013-08-30 14:25:59 -04:00
parent ad5e3ebce3
commit 7cff55a160
3 changed files with 14 additions and 10 deletions

View File

@@ -288,15 +288,7 @@
if(username === app.username || !app.username)
return;
require(['chat'], function(chat) {
var chatModal;
if(!chat.modalExists(touid)) {
chatModal = chat.createModal(username, touid);
} else {
chatModal = chat.getModal(touid);
}
chat.load(chatModal.attr('UUID'));
});
app.openChat(username, touid);
});
ajaxify.register_events([