From: Sven Schöling Date: Tue, 16 Oct 2012 13:31:12 +0000 (+0200) Subject: Layouts stellen jetzt sicher dass ihre benötigten Javascripte und Stylesheets mit... X-Git-Tag: release-3.0.0beta1~123 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=dc4b933b9b8b6cc61cb00ab3505ed775afed52b6;p=kivitendo-erp.git Layouts stellen jetzt sicher dass ihre benötigten Javascripte und Stylesheets mit ausgeliefert werden --- diff --git a/SL/Layout/MenuLeft.pm b/SL/Layout/MenuLeft.pm index d78f0e6e0..6764e2fe9 100644 --- a/SL/Layout/MenuLeft.pm +++ b/SL/Layout/MenuLeft.pm @@ -8,7 +8,7 @@ use URI; use List::MoreUtils qw(apply); sub stylesheets { - qw(css/icons16.css css/icons24.css) + qw(icons16.css icons24.css menu.css) } sub javascripts_inline { @@ -19,6 +19,10 @@ sub javascripts_inline { ) } +sub javascripts { + 'js/jquery.cookie.js'; +} + sub pre_content { "
\n"; } diff --git a/SL/Layout/None.pm b/SL/Layout/None.pm index 1c990ac93..9fbd0aca0 100644 --- a/SL/Layout/None.pm +++ b/SL/Layout/None.pm @@ -8,6 +8,13 @@ sub javascripts_inline { _setup_focus(), } +sub javascripts { + 'js/common.js' +} + +sub stylesheets { + 'main' +} sub _setup_formats { $::form->parse_html_template('layout/javascript_setup') diff --git a/SL/Layout/Top.pm b/SL/Layout/Top.pm index 533977450..36170b8fe 100644 --- a/SL/Layout/Top.pm +++ b/SL/Layout/Top.pm @@ -13,7 +13,7 @@ sub pre_content { } sub stylesheets { -# 'frame_header/header.css'; + 'frame_header/header.css'; } 1;