From: moisseev Date: Sat, 8 Aug 2020 13:04:27 +0000 (+0300) Subject: [Minor] Avoid double quotes escaping X-Git-Tag: 2.6~162^2~4 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=197de4bd384b8c8b554eae400f69a7a0c33d667a;p=thirdparty%2Frspamd.git [Minor] Avoid double quotes escaping --- diff --git a/interface/js/app/stats.js b/interface/js/app/stats.js index ebc37ef02a..299b02aad8 100644 --- a/interface/js/app/stats.js +++ b/interface/js/app/stats.js @@ -125,23 +125,23 @@ define(["jquery", "d3pie"], short_id = val.data.config_id.substring(0, 8); } - $("#clusterTable tbody").append("" + - "" + + $("#clusterTable tbody").append('' + + '' + "" + key + "" + "" + val.host + "" + - "" + + '' + '' + uptime + "" + "" + version + "" + "" + short_id + ""); - $("#selSrv").append($("")); + $("#selSrv").append($('")); if (checked_server === key) { - $("#clusterTable tbody [value=\"" + key + "\"]").prop("checked", true); - $("#selSrv [value=\"" + key + "\"]").prop("selected", true); + $('#clusterTable tbody [value="' + key + '"]').prop("checked", true); + $('#selSrv [value="' + key + '"]').prop("selected", true); } else if (!val.status) { - $("#clusterTable tbody [value=\"" + key + "\"]").prop("disabled", true); - $("#selSrv [value=\"" + key + "\"]").prop("disabled", true); + $('#clusterTable tbody [value="' + key + '"]').prop("disabled", true); + $('#selSrv [value="' + key + '"]').prop("disabled", true); } }); $(widgets).show();