Ticket #2065: 2065_2.patch
File 2065_2.patch, 1.6 KB (added by , 16 years ago) |
---|
-
_whatsnew.html
51 51 which stopped working in FCKeditor 2.6.</li> 52 52 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2039">#2039</a>] Fixed the locking up issue 53 53 in the Find/Replace dialog.</li> 54 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2065">#2065</a>] Floating dialogs will now 55 block the user from re-selecting the editing area by pressing Tab.</li> 54 56 </ul> 55 57 <h3> 56 58 Version 2.6</h3> -
editor/_source/internals/fckdialog.js
218 218 topDocument.body.appendChild( cover ) ; 219 219 220 220 FCKFocusManager.Lock() ; 221 222 // Prevent the user from refocusing the disabled 223 // editing window by pressing Tab. (Bug #2065) 224 var el = FCK.ToolbarSet.CurrentInstance.GetInstanceObject( 'frameElement' ) ; 225 el._fck_originalTabIndex = el.tabIndex ; 226 el.tabIndex = -1 ; 221 227 }, 222 228 223 229 HideMainCover : function() 224 230 { 225 231 FCKDomTools.RemoveNode( cover ) ; 226 232 FCKFocusManager.Unlock() ; 233 234 // Revert the tab index hack. (Bug #2065) 235 var el = FCK.ToolbarSet.CurrentInstance.GetInstanceObject( 'frameElement' ) ; 236 el.tabIndex = el._fck_originalTabIndex ; 237 FCKDomTools.ClearElementJSProperty( el, '_fck_originalTabIndex' ) ; 227 238 }, 228 239 229 240 GetCover : function()