Minor change to make the dashboard's javascript compatible with escaped characters (like apostrophe) in client names

This commit is contained in:
DL6ER
2017-06-04 13:29:24 +02:00
parent 58f6406f48
commit f66650be1c

View File

@@ -262,6 +262,7 @@ function updateTopClientsChart() {
if ({}.hasOwnProperty.call(data.top_sources, client)){
// Sanitize client
data.top_sources[escapeHtml(client)] = data.top_sources[client];
client = escapeHtml(client);
if(client.indexOf("|") > -1)
{