Index: trunk/admin/editor/cmseditor/editor/_source/internals/fckcontextmenu.js =================================================================== diff -u -r1528 -r2091 --- trunk/admin/editor/cmseditor/editor/_source/internals/fckcontextmenu.js (.../fckcontextmenu.js) (revision 1528) +++ trunk/admin/editor/cmseditor/editor/_source/internals/fckcontextmenu.js (.../fckcontextmenu.js) (revision 2091) @@ -210,7 +210,7 @@ if ( this.Groups['Table'] ) this.Groups['Table'].SetVisible( sTagName == 'TABLE' ) ; if ( this.Groups['Image'] ) this.Groups['Image'].SetVisible( sTagName == 'IMG' ) ; - if ( this.Groups['Document'] ) this.Groups['Document'].SetVisible(true && LinkState() == true) ; + if ( this.Groups['Document'] ) this.Groups['Document'].SetVisible(true && DocumentState() == true) ; if ( this.Groups['BulletedList'] ) this.Groups['BulletedList'].SetVisible( FCKSelection.HasAncestorNode('UL') ) ;