summaryrefslogtreecommitdiff
path: root/kvmd/web/js
diff options
context:
space:
mode:
Diffstat (limited to 'kvmd/web/js')
-rw-r--r--kvmd/web/js/session.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/kvmd/web/js/session.js b/kvmd/web/js/session.js
index de2bd2a9..756b5437 100644
--- a/kvmd/web/js/session.js
+++ b/kvmd/web/js/session.js
@@ -7,7 +7,11 @@ var session = new function() {
var http = tools.makeRequest("GET", "/kvmd/info", function() {
if (http.readyState === 4) {
if (http.status === 200) {
- $("kvmd-version").innerHTML = "kvmd " + JSON.parse(http.responseText).result.version.kvmd;
+ var version = JSON.parse(http.responseText).result.version;
+ $("kvmd-version").innerHTML = "kvmd " + version.kvmd;
+ $("about-version-kvmd").innerHTML = version.kvmd;
+ $("about-version-python").innerHTML = version.python;
+ $("about-version-platform").innerHTML = version.platform;
} else {
setTimeout(session.loadKvmdVersion, 1000);
}