can3p (can3p) wrote in changelog,
can3p
can3p
changelog

[livejournal] r19821: LJSV-1730: New RTE no longer has right-c...

Committer: dpetrov
LJSV-1730: New RTE no longer has right-click menu
U   trunk/htdocs/js/ck/config.js
Modified: trunk/htdocs/js/ck/config.js
===================================================================
--- trunk/htdocs/js/ck/config.js	2011-08-24 07:46:00 UTC (rev 19820)
+++ trunk/htdocs/js/ck/config.js	2011-08-24 08:53:15 UTC (rev 19821)
@@ -19,7 +19,6 @@
 		'clipboard,' +
 		'colorbutton,' +
 		'colordialog,' +
-		'contextmenu,' +
 		'dialog,' +
 		'enterkey,' +
 		'entities,' +
@@ -38,6 +37,10 @@
 		'undo,' +
 		'wysiwygarea,';
 
+	if(jQuery.browser.msie) { //show context menu only in internet explorer as it was in previous version of editor
+		config.plugins += 'contextmenu,';
+	}
+
 	config.fullPage = false;
 	config.startupOutlineBlocks = false;
 	config.autoGrow_maxHeight = 400;

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