Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

MDL-26145 mod_chat Talk feature not working correctly

  • Loading branch information...
commit 25afd64b0f69b7d85ae94bb851c93a91e0134757 1 parent 1494f20
@dmonllao dmonllao authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 mod/chat/gui_ajax/module.js
View
4 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('<strong><a target="_blank" href="'+users[i].url+'">'+ users[i].name+'</a></strong>'));
} else {
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);
var beep = Y.Node.create('<a href="###">'+M.str.chat.beep+'</a>');
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);
}
Please sign in to comment.
Something went wrong with that request. Please try again.