Fix templates in whiteboard
This commit is contained in:
parent
732585ea7b
commit
3023e8c855
@ -598,7 +598,6 @@ define([
|
|||||||
}, Msg.canvas_width),
|
}, Msg.canvas_width),
|
||||||
h('input#cp-app-whiteboard-width', {
|
h('input#cp-app-whiteboard-width', {
|
||||||
type: 'range',
|
type: 'range',
|
||||||
value: "5",
|
|
||||||
min: "1",
|
min: "1",
|
||||||
max: "100"
|
max: "100"
|
||||||
}),
|
}),
|
||||||
@ -610,7 +609,6 @@ define([
|
|||||||
}, Msg.canvas_opacity),
|
}, Msg.canvas_opacity),
|
||||||
h('input#cp-app-whiteboard-opacity', {
|
h('input#cp-app-whiteboard-opacity', {
|
||||||
type: 'range',
|
type: 'range',
|
||||||
value: "1",
|
|
||||||
min: "0.1",
|
min: "0.1",
|
||||||
max: "1",
|
max: "1",
|
||||||
step: "0.1"
|
step: "0.1"
|
||||||
|
|||||||
@ -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*/) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user