set title when uploading

pull/1/head
ansuz 2017-05-04 18:25:06 +02:00
parent a0c420af8e
commit 660cda6573
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@ define([
var newU8 = FileCrypto.joinChunks(chunks);
FileCrypto.decrypt(newU8, key, function (e, res) {
var title = document.title = res.metadata.filename;
var title = document.title = res.metadata.name;
myFile = res.content;
myDataType = res.metadata.type;