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:
parent
670e6f863c
commit
4bd529a78a
2 changed files with 2 additions and 2 deletions
|
@ -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">
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue