Translations for new version detected

This commit is contained in:
yflory
2018-06-11 18:18:39 +02:00
parent 089e0361b6
commit 4dec2cca5c
5 changed files with 11 additions and 4 deletions

View File

@@ -439,9 +439,11 @@ define([
});
ctx.sframeChan.on('EV_NEW_VERSION', function () {
// TODO display new verison stuff
// XXX
UI.errorLoadingScreen("New version detected", true, true);
var $err = $('<div>').append(Messages.newVersionError);
$err.find('a').click(function () {
funcs.gotoURL();
});
UI.errorLoadingScreen($err, true, true);
});
ctx.metadataMgr.onReady(waitFor());