properly fixes #2782

v1.18.x
psychobunny 10 years ago
parent c40258a82c
commit 8c79e11dae

@ -42,7 +42,7 @@ define('admin/extend/widgets', function() {
distance: 10
})
.each(function() {
$(this).attr('data-container-html', $(this).attr('data-container-html').replace(/\\\{([\s\S]*?)\\\}/, '{$1}'));
$(this).attr('data-container-html', $(this).attr('data-container-html').replace(/\\\{([\s\S]*?)\\\}/g, '{$1}'));
});
$('#widgets .widget-area').sortable({

Loading…
Cancel
Save