#11794 Fix entitites in dashboard

This commit is contained in:
miguel angel rasteu 2023-07-31 11:24:44 +02:00
parent 538f8363bc
commit f09ab409cc
1 changed files with 2 additions and 0 deletions

View File

@ -217,6 +217,8 @@ function initialiceLayout(data) {
success: function(widgetData) {
// Remove spinner.
removeSpinner(element);
widgetData = widgetData.replace("<script", "&lt;script");
widgetData = widgetData.replace("</script", "&lt;/script");
$("#widget-" + id + " .content-widget").append(widgetData);
$("#button-add-widget-" + id).click(function() {