|
@ -739,7 +739,7 @@ function processData(data) { |
|
|
if ("app_version" in data) { |
|
|
if ("app_version" in data) { |
|
|
title = title + " " + data.app_version; |
|
|
title = title + " " + data.app_version; |
|
|
} |
|
|
} |
|
|
$(".pure-menu-heading").html(title); |
|
|
|
|
|
|
|
|
$("span[name=title]").html(title); |
|
|
if ("hostname" in data) { |
|
|
if ("hostname" in data) { |
|
|
title = data.hostname + " - " + title; |
|
|
title = data.hostname + " - " + title; |
|
|
} |
|
|
} |
|
@ -1008,7 +1008,6 @@ function processData(data) { |
|
|
var post = element.attr("post") || ""; |
|
|
var post = element.attr("post") || ""; |
|
|
element.val(pre + data[key] + post); |
|
|
element.val(pre + data[key] + post); |
|
|
} |
|
|
} |
|
|
return; |
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
// Look for SPANs
|
|
|
// Look for SPANs
|
|
@ -1017,14 +1016,12 @@ function processData(data) { |
|
|
var pre = element.attr("pre") || ""; |
|
|
var pre = element.attr("pre") || ""; |
|
|
var post = element.attr("post") || ""; |
|
|
var post = element.attr("post") || ""; |
|
|
element.html(pre + data[key] + post); |
|
|
element.html(pre + data[key] + post); |
|
|
return; |
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
// Look for SELECTs
|
|
|
// Look for SELECTs
|
|
|
var element = $("select[name=" + key + "]"); |
|
|
var element = $("select[name=" + key + "]"); |
|
|
if (element.length > 0) { |
|
|
if (element.length > 0) { |
|
|
element.val(data[key]); |
|
|
element.val(data[key]); |
|
|
return; |
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
}); |
|
|
}); |
|
|