mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-17 01:54:49 +00:00
index.php: strip scripts from widgets before move (#4752)
This commit is contained in:
parent
70059dc6b5
commit
93fc88741a
@ -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) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user