|
|
@ -119,8 +119,8 @@ define(['taskbar', 'string', 'sounds'], function(taskbar, S, sounds) {
|
|
|
|
|
|
|
|
|
|
|
|
module.createModal = function(username, touid, callback) {
|
|
|
|
module.createModal = function(username, touid, callback) {
|
|
|
|
|
|
|
|
|
|
|
|
templates.preload_template('chat', function() {
|
|
|
|
templates.parse('chat', {}, function(chatTpl) {
|
|
|
|
translator.translate(templates.chat.parse({}), function (chatTpl) {
|
|
|
|
translator.translate(chatTpl, function (chatTpl) {
|
|
|
|
|
|
|
|
|
|
|
|
var chatModal = $(chatTpl),
|
|
|
|
var chatModal = $(chatTpl),
|
|
|
|
uuid = utils.generateUUID();
|
|
|
|
uuid = utils.generateUUID();
|
|
|
|