2013-06-24 23:41:59 +00:00
|
|
|
window.ApiRoot = '/api';
|
|
|
|
|
2013-06-21 00:06:56 +00:00
|
|
|
var statusText = $.ajax({
|
2013-06-22 06:24:24 +00:00
|
|
|
type : 'GET',
|
2013-06-24 23:41:59 +00:00
|
|
|
url : window.ApiRoot + '/system/status',
|
2013-06-21 01:43:58 +00:00
|
|
|
async: false
|
2013-06-21 00:06:56 +00:00
|
|
|
}).responseText;
|
|
|
|
|
|
|
|
window.ServerStatus = JSON.parse(statusText);
|
2013-07-10 05:11:57 +00:00
|
|
|
|
|
|
|
$('#footer-region .version').html(window.ServerStatus.version);
|