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

avoid duplicate reported version numbers on web client restart

This commit is contained in:
Luke Pulverenti 2013-07-26 11:57:51 -04:00
parent fcc6306168
commit 1c1733b5e6

View file

@ -419,7 +419,8 @@ var Dashboard = {
reloadPageWhenServerAvailable: function (retryCount) { reloadPageWhenServerAvailable: function (retryCount) {
ApiClient.getSystemInfo().done(function (info) { // Don't use apiclient method because we don't want it reporting authentication under the old version
$.getJSON(ApiClient.getUrl("System/Info")).done(function (info) {
// If this is back to false, the restart completed // If this is back to false, the restart completed
if (!info.HasPendingRestart) { if (!info.HasPendingRestart) {