chrony: fixes entity rendering (small fix) (#4904)

This commit is contained in:
Konstantinos Spartalis 2025-09-12 13:25:41 +03:00 committed by GitHub
parent 3f298fc57f
commit c80d04f840
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -1,6 +1,6 @@
PLUGIN_NAME= chrony
PLUGIN_VERSION= 1.5
PLUGIN_REVISION= 2
PLUGIN_REVISION= 3
PLUGIN_COMMENT= Chrony time synchronisation
PLUGIN_DEPENDS= chrony
PLUGIN_MAINTAINER= m.muenz@gmail.com

View file

@ -62,7 +62,7 @@
// Put API call into a function, needed for auto-refresh
function update_chronysources() {
ajaxCall(url="/api/chrony/service/chronysources", sendData={}, callback=function(data,status) {
$("#listchronysources").text(data['response']);
$("#listchronysources").text($('<div>').html(data['response']).text());
});
}