Merge pull request #225 from joshuaboniface/fix-restart-button

Fix restart button API call
This commit is contained in:
Joshua M. Boniface 2019-04-04 02:32:04 -04:00 committed by GitHub
commit a90b5d8324
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -750,7 +750,7 @@ define(["datetime", "events", "itemHelper", "serverNotifications", "dom", "globa
var page = dom.parentWithClass(btn, "page");
buttonEnabled(page.querySelector("#btnRestartServer"), false);
buttonEnabled(page.querySelector("#btnShutdown"), false);
Dashboard.restartServer();
ApiClient.restartServer();
});
});
},