timeslider/bugfix: timeslider wasn't updating when new pad contents was created - #4595

pull/4580/head
John McLear 2020-12-20 10:43:55 +00:00
parent 0362d3b05d
commit e18b9d1844
1 changed files with 4 additions and 1 deletions

View File

@ -71,11 +71,14 @@ function init() {
// route the incoming messages
socket.on('message', (message) => {
console.log(message.type);
if (message.type == 'CLIENT_VARS') {
handleClientVars(message);
} else if (message.accessStatus) {
$('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