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

make it clear the restart button is only restarting mb3

This commit is contained in:
Luke Pulverenti 2013-07-16 14:19:01 -04:00
parent 56532b90c0
commit 13ed0e427d
2 changed files with 15 additions and 1 deletions

View file

@ -472,6 +472,18 @@
DashboardPage.pollForInfo();
});
},
restart: function () {
Dashboard.confirm("Are you sure you wish to restart Media Browser Server?", "Restart", function (result) {
if (result) {
$(this).button('disable');
Dashboard.restartServer();
}
});
}
};