Vlad Kurkin (b_vladi) wrote in changelog,
Vlad Kurkin
b_vladi
changelog

[livejournal] r21322: LJSUP-11389: Need disable flag for New P...

Committer: vkurkin
LJSUP-11389: Need disable flag for New Photohosting when it's on Prod
U   trunk/htdocs/js/ck/plugins/image/dialogs/image.js
Modified: trunk/htdocs/js/ck/plugins/image/dialogs/image.js
===================================================================
--- trunk/htdocs/js/ck/plugins/image/dialogs/image.js	2012-03-07 13:06:46 UTC (rev 21321)
+++ trunk/htdocs/js/ck/plugins/image/dialogs/image.js	2012-03-07 13:08:18 UTC (rev 21322)
@@ -464,14 +464,14 @@
 						[
 							{
 								type: 'html',
-								html: '<div class="b-pics-promo-wrapper">' +
+								html: Site.pics_production ? '<div class="b-pics-promo-wrapper">' +
 										'<i class="b-pics-promo-box"></i>' +
 										'<a target="_blank" href="' + Site.siteroot + '/472.html" class="b-pics-promo-link">' +
 											'<span class="b-pics-promo-arrow"></span>' +
 											'<span class="b-pics-promo-content b-pics-promo-content-header">Try new PhotoAlbums.</span>' +
 											'<span class="b-pics-promo-content">Organise your photos and images with LiveJournal PhotoAlbums.</span>' +
 										'</a>' +
-										'</div>'
+										'</div>' : ''
 							},
 							{
 								type : 'vbox',

Tags: b_vladi, js, livejournal, vkurkin
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