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

@@ -438,6 +438,12 @@ define([
UI.updateLoadingProgress(data, true);
});
ctx.sframeChan.on('EV_NEW_VERSION', function () {
// TODO display new verison stuff
// XXX
UI.errorLoadingScreen("New version detected", true, true);
});
ctx.metadataMgr.onReady(waitFor());
}).nThen(function () {
try {