Provide user feedback when the Check for updates button is clicked.

This commit is contained in:
Tim 2015-08-10 15:57:55 +02:00
parent a8e591f7f7
commit 011be2f7ec
2 changed files with 4 additions and 2 deletions

View file

@ -167,8 +167,8 @@ fieldset[disabled] .btn-dark:active,
.btn-dark.disabled.active,
.btn-dark[disabled].active,
fieldset[disabled] .btn-dark.active {
background-color: #5cb85c;
border-color: #4cae4c;
background-color: #333;
color: #aaa;
}
.btn-dark .badge {
color: #e5e5e5;

View file

@ -834,6 +834,8 @@ $(document).ready(function() {
});
$("#menu_link_update_check").click(function() {
$(this).html('<i class="fa fa-spin fa-refresh"></i> Checking</button>');
$(this).prop('disabled', true);
window.location.href = "checkGithub";
});