From c80d04f840beb5d5ba0301e5ed41a50fdcfd52e8 Mon Sep 17 00:00:00 2001 From: Konstantinos Spartalis Date: Fri, 12 Sep 2025 13:25:41 +0300 Subject: [PATCH] chrony: fixes entity rendering (small fix) (#4904) --- net/chrony/Makefile | 2 +- .../src/opnsense/mvc/app/views/OPNsense/Chrony/general.volt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/net/chrony/Makefile b/net/chrony/Makefile index 02436f088..d4d807ea8 100644 --- a/net/chrony/Makefile +++ b/net/chrony/Makefile @@ -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 diff --git a/net/chrony/src/opnsense/mvc/app/views/OPNsense/Chrony/general.volt b/net/chrony/src/opnsense/mvc/app/views/OPNsense/Chrony/general.volt index 308d4c4ea..40d7552e9 100644 --- a/net/chrony/src/opnsense/mvc/app/views/OPNsense/Chrony/general.volt +++ b/net/chrony/src/opnsense/mvc/app/views/OPNsense/Chrony/general.volt @@ -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($('
').html(data['response']).text()); }); }