Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging
commit
3545a66320
|
@ -242,6 +242,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