From aed8d3e33eb2df53e0450e10aa39e73144ca3587 Mon Sep 17 00:00:00 2001 From: LukePulverenti Date: Fri, 15 Mar 2013 00:23:07 -0400 Subject: [PATCH] Added an Id property to SystemInfo --- Html/about.html | 2 +- Html/scripts/aboutPage.js | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Html/about.html b/Html/about.html index 5b778f4a7b..07b14cd8b8 100644 --- a/Html/about.html +++ b/Html/about.html @@ -26,7 +26,7 @@

- Utilizing Pismo File Mount through a donated license. + Utilizing Pismo File Mount through a donated license.

diff --git a/Html/scripts/aboutPage.js b/Html/scripts/aboutPage.js index c9a275d9b2..14c593d541 100644 --- a/Html/scripts/aboutPage.js +++ b/Html/scripts/aboutPage.js @@ -6,17 +6,17 @@ pollForInfo: function () { - $.getJSON("dashboardInfo").done(AboutPage.renderInfo); + ApiClient.getSystemInfo().done(AboutPage.renderInfo); }, - renderInfo: function (dashboardInfo) { - AboutPage.renderSystemInfo(dashboardInfo); + renderInfo: function (info) { + AboutPage.renderSystemInfo(info); }, - renderSystemInfo: function (dashboardInfo) { + renderSystemInfo: function (info) { var page = $.mobile.activePage; - $('#appVersionNumber', page).html(dashboardInfo.SystemInfo.Version); + $('#appVersionNumber', page).html(info.Version); }, };