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

disable server restart button after click

This commit is contained in:
Luke Pulverenti 2013-05-20 11:36:51 -04:00
parent 8feec7efde
commit 98745286f0

View file

@ -238,7 +238,7 @@ var Dashboard = {
showServerRestartWarning: function () {
var html = '<span style="margin-right: 1em;">Please restart Media Browser Server to finish updating.</span>';
html += '<button type="button" data-icon="refresh" onclick="Dashboard.restartServer();" data-theme="b" data-inline="true" data-mini="true">Restart Server</button>';
html += '<button type="button" data-icon="refresh" onclick="$(this).button(\'disable\');Dashboard.restartServer();" data-theme="b" data-inline="true" data-mini="true">Restart Server</button>';
Dashboard.showFooterNotification({ id: "serverRestartWarning", html: html, forceShow: true, allowHide: false });
},