Check for updates without refreshing the page
This commit is contained in:
@@ -1648,11 +1648,11 @@ $(document).ready(function() {
|
||||
});
|
||||
|
||||
$('#menu_link_update_check').click(function() {
|
||||
// Allow the update bar to show again if previously dismissed.
|
||||
setCookie('updateDismiss', 'true', 0);
|
||||
$(this).html('<i class="fa fa-spin fa-refresh"></i> Checking');
|
||||
$(this).prop('disabled', true);
|
||||
window.location.href = 'checkGithub';
|
||||
$(this).html('<i class="fa fa-spin fa-refresh"></i> Checking').prop('disabled', true);
|
||||
checkUpdate(function () {
|
||||
$('#menu_link_update_check').html('<i class="fa fa-arrow-circle-up"></i> Check for Updates')
|
||||
.prop('disabled', false);
|
||||
});
|
||||
});
|
||||
|
||||
$('#modal_link_restart').click(function() {
|
||||
|
Reference in New Issue
Block a user