Set the file name as default title if a pad is created from the drive

pull/1/head
yflory 2017-02-27 18:15:18 +01:00
parent e8c73f35ce
commit 8741b50f5b
1 changed files with 1 additions and 1 deletions

View File

@ -700,7 +700,7 @@ define([
}
}
} else {
updateMetadata(shjson);
updateTitle(Cryptpad.initialName || defaultName);
documentBody.innerHTML = Messages.initialState;
}