X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/kivitendo-erp.git/blobdiff_plain/e0a3b19e35aed6f3f8ba84e25381a5d0e6ca61f4..0c1b51b8ad98f6b1739af1744a640bd1d1a86e1f:/SL/Layout/Base.pm 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