mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 08:45:12 +02:00
#11794 Fix entitites in dashboard
This commit is contained in:
parent
538f8363bc
commit
f09ab409cc
@ -217,6 +217,8 @@ function initialiceLayout(data) {
|
|||||||
success: function(widgetData) {
|
success: function(widgetData) {
|
||||||
// Remove spinner.
|
// Remove spinner.
|
||||||
removeSpinner(element);
|
removeSpinner(element);
|
||||||
|
widgetData = widgetData.replace("<script", "<script");
|
||||||
|
widgetData = widgetData.replace("</script", "</script");
|
||||||
$("#widget-" + id + " .content-widget").append(widgetData);
|
$("#widget-" + id + " .content-widget").append(widgetData);
|
||||||
|
|
||||||
$("#button-add-widget-" + id).click(function() {
|
$("#button-add-widget-" + id).click(function() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user