Committer: dnikolaev
LJSUP-7240: Widget::Calendar resources (CSS+JS) was added to generating page.U trunk/cgi-bin/LJ/Hooks/ControlStrip.pm
Modified: trunk/cgi-bin/LJ/Hooks/ControlStrip.pm =================================================================== --- trunk/cgi-bin/LJ/Hooks/ControlStrip.pm 2011-04-21 06:51:25 UTC (rev 10413) +++ trunk/cgi-bin/LJ/Hooks/ControlStrip.pm 2011-04-21 06:54:27 UTC (rev 10414) @@ -3,6 +3,7 @@ use strict; use Class::Autouse qw(LJ::CProd::ControlStrip); use LJ::Request; +use LJ::Widget::Calendar; # logic to make sure control strip props are in order and # do business logic to turn on control strip. @@ -142,7 +143,6 @@ LJ::need_res("stc/controlstrip-${color}-local.css"); } - use LJ::Widget::Calendar; LJ::need_res(LJ::Widget::Calendar->need_res()); });