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

[livejournal] r20245: LJSUP-10019: Possibility of using new an...

Committer: vkurkin
LJSUP-10019: Possibility of using new and old version of photohosting
U   trunk/htdocs/js/ck/config.js
Modified: trunk/htdocs/js/ck/config.js
===================================================================
--- trunk/htdocs/js/ck/config.js	2011-10-06 14:16:51 UTC (rev 20244)
+++ trunk/htdocs/js/ck/config.js	2011-10-07 07:50:38 UTC (rev 20245)
@@ -12,6 +12,7 @@
 	config.baseHref = '';
 	config.contentsCss = '/js/ck/contents.css?t=' + CKEDITOR.timestamp;
 	config.plugins =
+		'ajax,' +
 		'basicstyles,' +
 		'bidi,' +
 		'blockquote,' +
@@ -77,9 +78,13 @@
 			'-',
 			'LJLink',
 			'LJUserLink',
-			'LJImage']
+			'image']
 	];
 
+	if(window.ljphotoEnabled){
+		config.toolbar_Full[0].push('LJImage_beta');
+	}
+
 	if(top.Site.media_embed_enabled){
 		config.toolbar_Full[0].push('LJEmbedLink');
 	}
@@ -94,9 +99,9 @@
 		'NumberedList',
 		'BulletedList',
 		'-',
-		'JustifyLeft',
-		'JustifyCenter',
-		'JustifyRight',
+		'LJJustifyLeft',
+		'LJJustifyCenter',
+		'LJJustifyRight',
 		'-',
 		'Undo',
 		'Redo');

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