X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FLayout%2FBase.pm;h=df9c00852bf0a46fb12cc78331d170175dea1a01;hb=1bed9601d931c64f2f3d29bd3d7622ad4283fce4;hp=c2590449c46aee2ea171b6034ed05deb3fc0bbb0;hpb=e0a3b19e35aed6f3f8ba84e25381a5d0e6ca61f4;p=kivitendo-erp.git diff --git a/SL/Layout/Base.pm b/SL/Layout/Base.pm index c2590449c..df9c00852 100644 --- a/SL/Layout/Base.pm +++ b/SL/Layout/Base.pm @@ -38,7 +38,7 @@ sub init_sublayouts_by_name { sub get { $_[0]->sub_layouts; - $_[0]->sub_layouts_by_name->{$_[1]} + return grep { $_ } ($_[0]->sub_layouts_by_name->{$_[1]}); } sub init_auto_reload_resources_param { @@ -330,7 +330,12 @@ classes, which should be changed. The other points work pretty well. =head1 BUGS -None yet, if you don't count the horrible stylesheet/javascript interface. +* stylesheet/javascript interface is a horrible mess. + +* It's currently not possible to do compositor layouts without assupmtions +about the position of the content. That's because the content will return +control to the actual controller, so the layouts need to know where to split +pre- and post-content. =head1 AUTHOR