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

skala
Juan Carlos Raña 14 years ago
parent e126e75d8d
commit 20a89c1843
  1. 4
      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
}
}
);
Loading…
Cancel
Save