|
|
@ -456,7 +456,7 @@ define([
|
|
|
|
Cryptpad.removeLoadingScreen();
|
|
|
|
Cryptpad.removeLoadingScreen();
|
|
|
|
setEditable(!readOnly);
|
|
|
|
setEditable(!readOnly);
|
|
|
|
initializing = false;
|
|
|
|
initializing = false;
|
|
|
|
config.onRemote();
|
|
|
|
config.onLocal();
|
|
|
|
|
|
|
|
|
|
|
|
if (readOnly) { return; }
|
|
|
|
if (readOnly) { return; }
|
|
|
|
if (isNew) {
|
|
|
|
if (isNew) {
|
|
|
@ -535,7 +535,8 @@ define([
|
|
|
|
nThen(function (waitFor) {
|
|
|
|
nThen(function (waitFor) {
|
|
|
|
$(waitFor(function () {
|
|
|
|
$(waitFor(function () {
|
|
|
|
Cryptpad.addLoadingScreen();
|
|
|
|
Cryptpad.addLoadingScreen();
|
|
|
|
$('body').append(Pages['/whiteboard/']());
|
|
|
|
var $div = $('<div>').append(Pages['/whiteboard/']());
|
|
|
|
|
|
|
|
$('body').append($div.html());
|
|
|
|
}));
|
|
|
|
}));
|
|
|
|
SFCommon.create(waitFor(function (c) { APP.common = common = c; }));
|
|
|
|
SFCommon.create(waitFor(function (c) { APP.common = common = c; }));
|
|
|
|
}).nThen(function (/*waitFor*/) {
|
|
|
|
}).nThen(function (/*waitFor*/) {
|
|
|
|