Added an Id property to SystemInfo

This commit is contained in:
LukePulverenti 2013-03-15 00:23:07 -04:00
parent 3d362588eb
commit aed8d3e33e
2 changed files with 6 additions and 6 deletions

View file

@ -26,7 +26,7 @@
<br/> <br/>
<br/> <br/>
<p> <p>
Utilizing <a href="http://www.pismotechnic.com/pfm/" />Pismo File Mount</a> through a donated license. Utilizing <a href="http://www.pismotechnic.com/pfm/" target="_blank">Pismo File Mount</a> through a donated license.
</p> </p>
</div> </div>
</div> </div>

View file

@ -6,17 +6,17 @@
pollForInfo: function () { pollForInfo: function () {
$.getJSON("dashboardInfo").done(AboutPage.renderInfo); ApiClient.getSystemInfo().done(AboutPage.renderInfo);
}, },
renderInfo: function (dashboardInfo) { renderInfo: function (info) {
AboutPage.renderSystemInfo(dashboardInfo); AboutPage.renderSystemInfo(info);
}, },
renderSystemInfo: function (dashboardInfo) { renderSystemInfo: function (info) {
var page = $.mobile.activePage; var page = $.mobile.activePage;
$('#appVersionNumber', page).html(dashboardInfo.SystemInfo.Version); $('#appVersionNumber', page).html(info.Version);
}, },
}; };