Skip to content

Commit

Permalink
MDL-26145 mod_chat Talk feature not working correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
David Monllao committed Jul 6, 2012
1 parent 1494f20 commit 25afd64
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mod/chat/gui_ajax/module.js
Expand Up @@ -247,11 +247,11 @@ M.mod_chat_ajax.init = function(Y, cfg) {
li.all('td').item(1).append(Y.Node.create('<strong><a target="_blank" href="'+users[i].url+'">'+ users[i].name+'</a></strong>')); li.all('td').item(1).append(Y.Node.create('<strong><a target="_blank" href="'+users[i].url+'">'+ users[i].name+'</a></strong>'));
} else { } else {
li.all('td').item(1).append(Y.Node.create('<div><a target="_blank" href="'+users[i].url+'">'+users[i].name+'</a></div>')); li.all('td').item(1).append(Y.Node.create('<div><a target="_blank" href="'+users[i].url+'">'+users[i].name+'</a></div>'));
var talk = Y.Node.create('<a href="###">'+M.str.chat.talk+'</a>&nbsp;'); var talk = Y.Node.create('<a href="###">'+M.str.chat.talk+'</a>');
talk.on('click', this.talkto, this, users[i].name); talk.on('click', this.talkto, this, users[i].name);
var beep = Y.Node.create('<a href="###">'+M.str.chat.beep+'</a>'); var beep = Y.Node.create('<a href="###">'+M.str.chat.beep+'</a>');
beep.on('click', this.send, this, users[i].id); beep.on('click', this.send, this, users[i].id);
li.all('td').item(1).append(Y.Node.create('<div></div>').append(talk).append(beep)); li.all('td').item(1).append(Y.Node.create('<div></div>').append(talk).append('&nbsp;').append(beep));
} }
list.append(li); list.append(li);
} }
Expand Down

0 comments on commit 25afd64

Please sign in to comment.