don't store media tag pages in the drive

pull/1/head
ansuz 2017-05-22 14:45:14 +02:00
parent 90a9764fa4
commit a6cf761172
1 changed files with 3 additions and 10 deletions

View File

@ -41,16 +41,9 @@ define([
};
var updateTitle = function (newTitle) {
Cryptpad.renamePad(newTitle, function (err, data) {
if (err) {
console.log("Couldn't set pad title");
console.error(err);
return;
}
document.title = newTitle;
$bar.find('.' + Toolbar.constants.title).find('span.title').text(data);
$bar.find('.' + Toolbar.constants.title).find('input').val(data);
});
document.title = newTitle;
$bar.find('.' + Toolbar.constants.title).find('span.title').text(data);
$bar.find('.' + Toolbar.constants.title).find('input').val(data);
};
var suggestName = function () {