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) {
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 (!info.HasPendingRestart) {