Skip to content
Snippets Groups Projects
Commit 1d0529e9 authored by srosse's avatar srosse
Browse files

OO-3620: fix issue with drake destroy, fix null fragments

parent 1ead0982
No related branches found
No related tags found
No related merge requests found
#foreach($fragment in $fragments)
<div class="$fragment.cssClass">
$r.render($fragment.componentName)
</div>
#end
\ No newline at end of file
......@@ -47,6 +47,9 @@ public class PageFragmentsComponent extends AbstractComponent implements Compone
}
public List<PageFragment> getFragments() {
if(fragments == null) {
return new ArrayList<>(1);
}
return new ArrayList<>(fragments);
}
......
......@@ -102,7 +102,6 @@
}).on('out', function(el, target, source) {
jQuery(target).removeClass('oo-accepted');
}).on('drop', function(el, target, source, sibling) {
drake.destroy();// drop trigger a reload -> clean up all and more
drop(el, target, source, sibling);
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment