diff --git a/src/static/js/broadcast.js b/src/static/js/broadcast.js index 1bd547f5275..60273f2d07d 100644 --- a/src/static/js/broadcast.js +++ b/src/static/js/broadcast.js @@ -336,6 +336,11 @@ function loadBroadcastJS(socket, sendSocketMsg, fireWhenAllScriptsAreLoaded, Bro var self = this; var path = revisionInfo.getPath(padContents.currentRevision, newRevision); debugLog('newRev: ', padContents.currentRevision, path); + + hooks.aCallAll('goToRevisionEvent', { + rev: newRevision + }); + if (path.status == 'complete') { var cs = path.changesets;