Fix new version detection
This commit is contained in:
parent
4304079c70
commit
9fbf507cda
@ -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': {
|
||||||
|
|||||||
@ -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);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user