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

pull/1/head
yflory 8 years ago
parent e8c73f35ce
commit 8741b50f5b

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

Loading…
Cancel
Save