Stylesheets im Javascript layout verwalten
authorSven Schöling <s.schoeling@linet-services.de>
Tue, 16 Oct 2012 14:34:34 +0000 (16:34 +0200)
committerSven Schöling <s.schoeling@linet-services.de>
Wed, 17 Oct 2012 14:04:04 +0000 (16:04 +0200)
SL/Layout/Javascript.pm

index cdc6491..28731ec 100644 (file)
@@ -30,6 +30,14 @@ sub end_content {
   "</div>\n";
 }
 
+sub stylesheets {
+  $_[0]->add_stylesheets(qw(
+    dhtmlsuite/menu-item.css
+    dhtmlsuite/menu-bar.css
+  ));
+  $_[0]->SUPER::stylesheets;
+}
+
 sub display {
   my ($self) = @_;
   my $form     = $main::form;