From 41572848aa49ef4bbc6ffe150f2a32963ee6862e Mon Sep 17 00:00:00 2001 From: odeimaiz Date: Tue, 10 Dec 2024 15:32:26 +0100 Subject: [PATCH] replace replaceAll --- .../client/source/class/osparc/widget/logger/LoggerModel.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/static-webserver/client/source/class/osparc/widget/logger/LoggerModel.js b/services/static-webserver/client/source/class/osparc/widget/logger/LoggerModel.js index a6110b2714c..9cb8b2249de 100644 --- a/services/static-webserver/client/source/class/osparc/widget/logger/LoggerModel.js +++ b/services/static-webserver/client/source/class/osparc/widget/logger/LoggerModel.js @@ -113,7 +113,7 @@ qx.Class.define("osparc.widget.logger.LoggerModel", { newRow["level"] = this.self().getLevelIcon(newRow.logLevel); newRow["time"] = osparc.utils.Utils.formatTime(newRow.timeStamp, true); newRow["who"] = newRow.label; - newRow["msgRich"] = newRow.msg.replaceAll("\n", "
"); + newRow["msgRich"] = newRow.msg.replace(/\n/g, "
"); this.__rawData.push(newRow); }); },