Browse Source

disabled the contextual corrections menu because all toolbars show it (only for teachers toolbars)

Juan Carlos Raña 14 years ago
parent
commit
20a89c1843
1 changed files with 2 additions and 2 deletions
  1. 2 2
      main/inc/lib/fckeditor/editor/plugins/Abbr/fckplugin.js

+ 2 - 2
main/inc/lib/fckeditor/editor/plugins/Abbr/fckplugin.js

@@ -100,9 +100,9 @@ function ProtectTags ( html ) {											// copied from _source/internals/fck.j
 FCK.ContextMenu.RegisterListener( {
 	AddItems : function( menu, tag, tagName ) {
 		// when the option is displayed, show a separator then the command
-		menu.AddSeparator() ;
+			//menu.AddSeparator() ;//Disabled by Chamilo. TODO:config by toolbar name teacher on/ student off
 		// the command needs the registered command name, the title for the context menu, and the icon path
-		menu.AddItem( 'Abbr', FCKLang.Abbr, oAbbrItem.IconPath ) ;
+			//menu.AddItem( 'Abbr', FCKLang.Abbr, oAbbrItem.IconPath ) ;//Disabled by Chamilo. TODO:config by toolbar name teacher on/ student off
 	}
 }
 );