Added an Id property to SystemInfo
This commit is contained in:
parent
3d362588eb
commit
aed8d3e33e
2 changed files with 6 additions and 6 deletions
|
@ -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>
|
||||||
|
|
|
@ -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);
|
||||||
},
|
},
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue