Changeset 2221
- Timestamp:
- 2008-07-15 09:08:23 (20 months ago)
- Location:
- FCKeditor/trunk
- Files:
-
- 3 modified
-
editor/_source/classes/fckcontextmenu.js (modified) (4 diffs)
-
fckconfig.js (modified) (1 diff)
-
_whatsnew.html (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
FCKeditor/trunk/editor/_source/classes/fckcontextmenu.js
r1629 r2221 91 91 function FCKContextMenu_Document_OnContextMenu( e ) 92 92 { 93 if ( FCKConfig.BrowserContextMenu ) 94 return true ; 95 93 96 var el = e.target ; 94 97 … … 115 118 if( !e || e.button != 2 ) 116 119 return false ; 120 121 if ( FCKConfig.BrowserContextMenu ) 122 return true ; 117 123 118 124 var el = e.target ; … … 147 153 function FCKContextMenu_Document_OnMouseUp( e ) 148 154 { 155 if ( FCKConfig.BrowserContextMenu ) 156 return true ; 157 149 158 var overrideButton = FCKContextMenu_OverrideButton ; 150 159 … … 166 175 function FCKContextMenu_AttachedElement_OnContextMenu( ev, fckContextMenu, el ) 167 176 { 168 if ( fckContextMenu.CtrlDisable && ( ev.ctrlKey || ev.metaKey ))177 if ( ( fckContextMenu.CtrlDisable && ( ev.ctrlKey || ev.metaKey ) ) || FCKConfig.BrowserContextMenu ) 169 178 return true ; 170 179 -
FCKeditor/trunk/fckconfig.js
r2209 r2221 148 148 FCKConfig.ContextMenu = ['Generic','Link','Anchor','Image','Flash','Select','Textarea','Checkbox','Radio','TextField','HiddenField','ImageButton','Button','BulletedList','NumberedList','Table','Form','DivContainer'] ; 149 149 FCKConfig.BrowserContextMenuOnCtrl = false ; 150 FCKConfig.BrowserContextMenu = false ; 150 151 151 152 FCKConfig.EnableMoreFontColors = true ; -
FCKeditor/trunk/_whatsnew.html
r2220 r2221 45 45 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2234">#2234</a>] Added the 46 46 ability to create, modify and remove Div containers.</li> 47 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2252">#2252</a>] It's now possible to enable the 48 browsers default menu using the configuration file (FCKConfig.BrowserContextMenu option).</li> 47 49 </ul> 48 50 <p>