setupPoints und setupDateFormat in ein partial Layout verschoben
[kivitendo-erp.git] / SL / Controller / Layout / Javascript.pm
index 590c53e..f9ee831 100644 (file)
@@ -6,6 +6,18 @@ use parent qw(SL::Controller::Layout::Base);
 use List::Util qw(max);
 use URI;
 
+sub new {
+  my ($class, @slurp) = @_;
+
+  my $self = $class->SUPER::new(@slurp);
+
+  $self->add_sub_layouts([
+    SL::Controller::Layout::None->new,
+  ]);
+
+  $self;
+}
+
 sub pre_content {
   &display
 }