From 95bfb3f363d130566550e61565fc8f7073020763 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Tue, 12 Nov 2019 11:51:49 +0100 Subject: luci-mod-status: fix graph rendering with XHTML themes Signed-off-by: Jo-Philipp Wich --- .../htdocs/luci-static/resources/view/status/bandwidth.js | 2 +- .../htdocs/luci-static/resources/view/status/connections.js | 2 +- .../luci-mod-status/htdocs/luci-static/resources/view/status/load.js | 2 +- .../htdocs/luci-static/resources/view/status/wireless.js | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'modules/luci-mod-status/htdocs') diff --git a/modules/luci-mod-status/htdocs/luci-static/resources/view/status/bandwidth.js b/modules/luci-mod-status/htdocs/luci-static/resources/view/status/bandwidth.js index 18e2160b51..0d89ae8ae8 100644 --- a/modules/luci-mod-status/htdocs/luci-static/resources/view/status/bandwidth.js +++ b/modules/luci-mod-status/htdocs/luci-static/resources/view/status/bandwidth.js @@ -233,7 +233,7 @@ return L.view.extend({ return E('div', { 'style': 'width:100%;height:300px;border:1px solid #000;background:#fff' - }, response.text()); + }, E(response.text())); }); }, diff --git a/modules/luci-mod-status/htdocs/luci-static/resources/view/status/connections.js b/modules/luci-mod-status/htdocs/luci-static/resources/view/status/connections.js index 96dee1db77..458437ede0 100644 --- a/modules/luci-mod-status/htdocs/luci-static/resources/view/status/connections.js +++ b/modules/luci-mod-status/htdocs/luci-static/resources/view/status/connections.js @@ -306,7 +306,7 @@ return L.view.extend({ return E('div', { 'style': 'width:100%;height:300px;border:1px solid #000;background:#fff' - }, response.text()); + }, E(response.text())); }); }, diff --git a/modules/luci-mod-status/htdocs/luci-static/resources/view/status/load.js b/modules/luci-mod-status/htdocs/luci-static/resources/view/status/load.js index a1ed43478d..646d256d60 100644 --- a/modules/luci-mod-status/htdocs/luci-static/resources/view/status/load.js +++ b/modules/luci-mod-status/htdocs/luci-static/resources/view/status/load.js @@ -211,7 +211,7 @@ return L.view.extend({ return E('div', { 'style': 'width:100%;height:300px;border:1px solid #000;background:#fff' - }, response.text()); + }, E(response.text())); }); }, diff --git a/modules/luci-mod-status/htdocs/luci-static/resources/view/status/wireless.js b/modules/luci-mod-status/htdocs/luci-static/resources/view/status/wireless.js index ce0c72bc3b..cd8cff133b 100644 --- a/modules/luci-mod-status/htdocs/luci-static/resources/view/status/wireless.js +++ b/modules/luci-mod-status/htdocs/luci-static/resources/view/status/wireless.js @@ -227,7 +227,7 @@ return L.view.extend({ return E('div', { 'style': 'width:100%;height:300px;border:1px solid #000;background:#fff' - }, response.text()); + }, E(response.text())); }); }, -- cgit v1.2.3