|
|
@ -289,9 +289,11 @@ define([
|
|
|
|
|
|
|
|
|
|
|
|
var $avatar = $('<div>', {'class': 'avatar'}).appendTo($header);
|
|
|
|
var $avatar = $('<div>', {'class': 'avatar'}).appendTo($header);
|
|
|
|
|
|
|
|
|
|
|
|
var $removeHistory = $('<button>', {
|
|
|
|
var $removeHistory = $('<span>', {
|
|
|
|
'class': 'remove-history'
|
|
|
|
'class': 'remove-history fa fa-eraser'
|
|
|
|
}).text('remove chat history').click(function () {
|
|
|
|
})
|
|
|
|
|
|
|
|
// TODO set title
|
|
|
|
|
|
|
|
.click(function () {
|
|
|
|
Cryptpad.confirm(common.Messages.contacts_confirmRemoveHistory, function (yes) {
|
|
|
|
Cryptpad.confirm(common.Messages.contacts_confirmRemoveHistory, function (yes) {
|
|
|
|
if (!yes) { return; }
|
|
|
|
if (!yes) { return; }
|
|
|
|
Cryptpad.clearOwnedChannel(data.channel, function (e) {
|
|
|
|
Cryptpad.clearOwnedChannel(data.channel, function (e) {
|
|
|
|