stub history removal. coming soon
parent
73e32f273e
commit
eb4b5ca77c
|
@ -248,6 +248,24 @@ define([
|
|||
var proxy = common.getProxy();
|
||||
|
||||
var $header = $('<div>', {'class': 'header avatar'}).appendTo($container);
|
||||
/*
|
||||
var $removeHistory = $('<button>', {
|
||||
'class': 'remove-history'
|
||||
}).text('remove chat history').click(function () {
|
||||
Cryptpad.confirm('are you sure?', function (yes) {
|
||||
if (!yes) { return; }
|
||||
Cryptpad.clearOwnedChannel(data.channel, function (e) {
|
||||
if (e) {
|
||||
console.error(e);
|
||||
Cryptpad.alert("Something went wrong");
|
||||
return;
|
||||
}
|
||||
});
|
||||
});
|
||||
});
|
||||
$removeHistory.appendTo($header); //rightCol);
|
||||
*/
|
||||
|
||||
$('<div>', {'class': 'messages'}).appendTo($container);
|
||||
var $inputBlock = $('<div>', {'class': 'input'}).appendTo($container);
|
||||
|
||||
|
|
Loading…
Reference in New Issue