Add the new content for the default pad and add french translation

This commit is contained in:
yflory
2017-02-27 17:23:28 +01:00
parent 498f4065cf
commit f8d653406a
5 changed files with 43 additions and 19 deletions

View File

@@ -130,7 +130,6 @@ define([
$(inner).css({
color: '#fff',
});
//documentBody.innerHTML = Messages.initialState;
var cursor = window.cursor = Cursor(inner);
@@ -366,10 +365,6 @@ define([
};
var realtimeOptions = {
// provide initialstate...
//initialState: stringifyDOM(inner) || '{}',
initialState: '[]',
// the websocket URL
websocketURL: Cryptpad.getWebsocketURL(),
@@ -678,7 +673,7 @@ define([
var shjson = info.realtime.getUserDoc();
var newPad = false;
if (shjson === '[]') { newPad = true; }
if (shjson === '') { newPad = true; }
if (!newPad) {
applyHjson(shjson);