Commit dcc74b5f authored by uncol's avatar uncol
Browse files

comment message html encoded

parent 37cced76
Pipeline #30209 passed with stages
in 1 minute and 31 seconds
......@@ -137,7 +137,7 @@ Ext.define("NOC.fm.alarm.view.grids.GridViewTable", {
for(var j = 0; j < record.get("logs").length; j++) {
var r = record.get("logs")[j];
tooltipFromData += "<tr><td>" + Ext.util.Format.date(r.timestamp, "d.m.Y H:i")
+ "</td><td>" + r.user + "</td><td style='white-space: pre-line;'>" + r.message + "</td></tr>";
+ "</td><td>" + r.user + "</td><td style='white-space: pre-line;'>" + Ext.String.htmlEncode(r.message) + "</td></tr>";
}
tooltipFromData += "</tbody></table>";
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment