set title when uploading

pull/1/head
ansuz 8 years ago
parent a0c420af8e
commit 660cda6573

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

Loading…
Cancel
Save