From 660cda6573fda7b2f524fd0ff7777f681d6a0b0c Mon Sep 17 00:00:00 2001 From: ansuz Date: Thu, 4 May 2017 18:25:06 +0200 Subject: [PATCH] set title when uploading --- www/file/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/file/main.js b/www/file/main.js index 1c25c5119..7e193e6a9 100644 --- a/www/file/main.js +++ b/www/file/main.js @@ -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;