diff --git a/src/www/index.php b/src/www/index.php index 6663799e7..dd6abb024 100644 --- a/src/www/index.php +++ b/src/www/index.php @@ -263,6 +263,9 @@ include("fbegin.inc");?> // rearrange widgets to stored column $(".widgetdiv").each(function(){ var widget = $(this); + widget.find('script').each(function(){ + $(this).remove(); + }); var container = $(this).parent(); var target_col = widget.data('sortkey').split('-')[1]; if (target_col != undefined) {