Fix new version detection

This commit is contained in:
yflory 2018-06-12 14:23:54 +02:00
parent 4304079c70
commit 9fbf507cda
2 changed files with 4 additions and 1 deletions

View File

@ -708,9 +708,11 @@ define([
var update = updateLocalVersion(NewConfig.requireConf && NewConfig.requireConf.urlArgs); var update = updateLocalVersion(NewConfig.requireConf && NewConfig.requireConf.urlArgs);
if (update) { if (update) {
postMessage('DISCONNECT'); postMessage('DISCONNECT');
return;
} }
common.onNetworkReconnect.fire(data);
}); });
common.onNetworkReconnect.fire(data); break; break;
} }
// Messenger // Messenger
case 'CONTACTS_MESSAGE': { case 'CONTACTS_MESSAGE': {

View File

@ -443,6 +443,7 @@ define([
$err.find('a').click(function () { $err.find('a').click(function () {
funcs.gotoURL(); funcs.gotoURL();
}); });
UI.findOKButton().click();
UI.errorLoadingScreen($err, true, true); UI.errorLoadingScreen($err, true, true);
}); });