Provide user feedback when the Check for updates button is clicked.
This commit is contained in:
@@ -167,8 +167,8 @@ fieldset[disabled] .btn-dark:active,
|
|||||||
.btn-dark.disabled.active,
|
.btn-dark.disabled.active,
|
||||||
.btn-dark[disabled].active,
|
.btn-dark[disabled].active,
|
||||||
fieldset[disabled] .btn-dark.active {
|
fieldset[disabled] .btn-dark.active {
|
||||||
background-color: #5cb85c;
|
background-color: #333;
|
||||||
border-color: #4cae4c;
|
color: #aaa;
|
||||||
}
|
}
|
||||||
.btn-dark .badge {
|
.btn-dark .badge {
|
||||||
color: #e5e5e5;
|
color: #e5e5e5;
|
||||||
|
@@ -834,6 +834,8 @@ $(document).ready(function() {
|
|||||||
});
|
});
|
||||||
|
|
||||||
$("#menu_link_update_check").click(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";
|
window.location.href = "checkGithub";
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user