cache busting for js file based on server version.

This commit is contained in:
Keivan Beigi 2013-06-20 17:06:56 -07:00
parent 5c3f0203e5
commit 0916c8b8d1
12 changed files with 205 additions and 126 deletions

7
UI/ServerStatus.js Normal file
View file

@ -0,0 +1,7 @@
var statusText = $.ajax({
type : "GET",
url : 'api/system/status',
async: false,
}).responseText;
window.ServerStatus = JSON.parse(statusText);