1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

fix restart disable

This commit is contained in:
Luke Pulverenti 2013-07-16 17:06:12 -04:00
parent 670e6f863c
commit 4bd529a78a
2 changed files with 2 additions and 2 deletions

View file

@ -56,7 +56,7 @@
</div>
<div style="margin-top: 2em;">
<button type="button" data-icon="refresh" data-mini="true" data-inline="true" onclick="DashboardPage.restart();">Restart MB Server</button>
<button id="btnRestartServer" type="button" data-icon="refresh" data-mini="true" data-inline="true" onclick="DashboardPage.restart();">Restart MB Server</button>
</div>
<div style="display: none; margin-top: 4em;" id="contribute">

View file

@ -479,7 +479,7 @@
Dashboard.confirm("Are you sure you wish to restart Media Browser Server?", "Restart", function (result) {
if (result) {
$(this).button('disable');
$('#btnRestartServer').button('disable');
Dashboard.restartServer();
}