Simplify update check.

This commit is contained in:
James Cole
2020-02-02 10:39:37 +01:00
parent f99f166623
commit 7f3522339c
9 changed files with 173 additions and 167 deletions

View File

@@ -25,18 +25,4 @@ $(function () {
// Enable update button.
$('#update').click(checkUpdate);
});
function checkUpdate() {
// do post update check:
$.post(updateCheckUri).done(function (data) {
alert(data.result);
}).fail(function () {
alert('Error while checking.');
});
return false;
}