From 8741b50f5b1b2f49fe301b876cd00257da20bbe4 Mon Sep 17 00:00:00 2001 From: yflory Date: Mon, 27 Feb 2017 18:15:18 +0100 Subject: [PATCH] Set the file name as default title if a pad is created from the drive --- www/pad/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/pad/main.js b/www/pad/main.js index c4747e767..c3a746d14 100644 --- a/www/pad/main.js +++ b/www/pad/main.js @@ -700,7 +700,7 @@ define([ } } } else { - updateMetadata(shjson); + updateTitle(Cryptpad.initialName || defaultName); documentBody.innerHTML = Messages.initialState; }