Detect new version

This commit is contained in:
yflory
2018-06-11 16:52:26 +02:00
parent 0d4fbec4bc
commit 089e0361b6
4 changed files with 30 additions and 3 deletions

View File

@@ -267,6 +267,10 @@ define([
Test.registerOuter(sframeChan);
Cryptpad.onNewVersionReconnect.reg(function () {
sframeChan.event("EV_NEW_VERSION");
});
// Put in the following function the RPC queries that should also work in filepicker
var addCommonRpc = function (sframeChan) {
sframeChan.on('Q_ANON_RPC_MESSAGE', function (data, cb) {