Merge branch 'ent-11794-stored-cross-site-scripting-via-dashboard-panel' into 'develop'
Ent 11794 stored cross site scripting via dashboard panel See merge request artica/pandorafms!6296
This commit is contained in:
commit
a6e1e1cf61
|
@ -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…
Reference in New Issue