From 937963c5891729d51d88190cfa9e47dfcb68fb06 Mon Sep 17 00:00:00 2001 From: David Monllao Date: Fri, 6 Jul 2012 15:59:57 +0800 Subject: [PATCH] MDL-26145 mod_chat Talk feature not working correctly --- mod/chat/gui_ajax/module.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mod/chat/gui_ajax/module.js b/mod/chat/gui_ajax/module.js index 71c02419d03..fc4897433dd 100644 --- a/mod/chat/gui_ajax/module.js +++ b/mod/chat/gui_ajax/module.js @@ -247,11 +247,11 @@ M.mod_chat_ajax.init = function(Y, cfg) { li.all('td').item(1).append(Y.Node.create(''+ users[i].name+'')); } else { li.all('td').item(1).append(Y.Node.create('
'+users[i].name+'
')); - var talk = Y.Node.create(''+M.str.chat.talk+' '); + var talk = Y.Node.create(''+M.str.chat.talk+''); talk.on('click', this.talkto, this, users[i].name); var beep = Y.Node.create(''+M.str.chat.beep+''); beep.on('click', this.send, this, users[i].id); - li.all('td').item(1).append(Y.Node.create('
').append(talk).append(beep)); + li.all('td').item(1).append(Y.Node.create('
').append(talk).append(' ').append(beep)); } list.append(li); }