журнал (shhh) wrote in changelog,
журнал
shhh
changelog

[ljcom] r12786: LJSUP-13514: Create JournalPromo Widget ...

Committer: nnikulochkina
LJSUP-13514: Create JournalPromo Widget for Control Strip / Journal Slots
U   trunk/cgi-bin/LJ/Hooks/ControlStrip.pm
Modified: trunk/cgi-bin/LJ/Hooks/ControlStrip.pm
===================================================================
--- trunk/cgi-bin/LJ/Hooks/ControlStrip.pm	2012-10-18 08:14:21 UTC (rev 12785)
+++ trunk/cgi-bin/LJ/Hooks/ControlStrip.pm	2012-10-18 10:33:23 UTC (rev 12786)
@@ -145,7 +145,7 @@
 
     LJ::need_res(LJ::Widget::Calendar->need_res());
 
-    LJ::need_res(LJ::Widget::JournalPromoStrip->need_res()) if LJ::is_enabled('journalpromo');
+    LJ::need_res(LJ::Widget::JournalPromoStrip->need_res()) if LJ::Widget::JournalPromoStrip->should_render();
 
     LJ::Share->request_resources();
 });

Tags: ljcom, nikulochkina, nnikulochkina, pm
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments