Added an Id property to SystemInfo
This commit is contained in:
+1
-1
@@ -26,7 +26,7 @@
|
||||
<br/>
|
||||
<br/>
|
||||
<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>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -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);
|
||||
},
|
||||
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user