|
|
@ -56,6 +56,7 @@ function onDeviceReady() {
|
|
|
|
});
|
|
|
|
});
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Compare two version strings.
|
|
|
|
* Compare two version strings.
|
|
|
|
* http://stackoverflow.com/a/16187766/2534036
|
|
|
|
* http://stackoverflow.com/a/16187766/2534036
|
|
|
@ -79,6 +80,7 @@ function compareVersions(a, b) {
|
|
|
|
return segmentsA.length - segmentsB.length;
|
|
|
|
return segmentsA.length - segmentsB.length;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
function serverProblemsDialog(errmsg) {
|
|
|
|
function serverProblemsDialog(errmsg) {
|
|
|
|
window.location = "servererror.html?errmsg=" + errmsg;
|
|
|
|
window.location = "servererror.html?errmsg=" + errmsg;
|
|
|
|
}
|
|
|
|
}
|
|
|
|