timeslider/bugfix: timeslider wasn't updating when new pad contents was created - #4595
parent
0362d3b05d
commit
e18b9d1844
|
@ -71,11 +71,14 @@ function init() {
|
||||||
|
|
||||||
// route the incoming messages
|
// route the incoming messages
|
||||||
socket.on('message', (message) => {
|
socket.on('message', (message) => {
|
||||||
|
console.log(message.type);
|
||||||
if (message.type == 'CLIENT_VARS') {
|
if (message.type == 'CLIENT_VARS') {
|
||||||
handleClientVars(message);
|
handleClientVars(message);
|
||||||
} else if (message.accessStatus) {
|
} else if (message.accessStatus) {
|
||||||
$('body').html('<h2>You have no permission to access this pad</h2>');
|
$('body').html('<h2>You have no permission to access this pad</h2>');
|
||||||
} else if (message.type === 'CHANGESET_REQ') { changesetLoader.handleMessageFromServer(message); }
|
} else if (message.type === 'CHANGESET_REQ' || message.type === 'COLLABROOM') {
|
||||||
|
changesetLoader.handleMessageFromServer(message);
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
// get all the export links
|
// get all the export links
|
||||||
|
|
Loading…
Reference in New Issue