mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 17:06:53 +02:00
MDL-26145 mod_chat Talk feature not working correctly
This commit is contained in:
parent
d71b79a406
commit
9d3b8b248d
1 changed files with 2 additions and 2 deletions
|
@ -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> ');
|
||||
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(' ').append(beep));
|
||||
}
|
||||
list.append(li);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue