Changeset 608
- Timestamp:
- 08/01/07 10:51:44 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
FCKeditor/trunk/editor/_source/classes/fckeditingarea.js
r607 r608 170 170 if ( FCKBrowserInfo.IsIE ) 171 171 { 172 // Kludge for #141 and #523 172 173 oDoc.body.disabled = true ; 173 174 oDoc.body.contentEditable = true ; 174 oDoc.body. disabled = false;175 oDoc.body.removeAttribute( "disabled" ) ; 175 176 176 177 /* The following commands don't throw errors, but have no effect. … … 266 267 // In IE it can happen that the document is in theory focused but the active element is outside it 267 268 this.Document.body.setActive() ; 269 // Kludge for #141... yet more code to workaround IE bugs 270 var range = this.Document.selection.createRange() ; 271 range.moveEnd( "character", 1 ) ; 272 range.select() ; 273 range.collapse( true ) ; 274 range.select() ; 268 275 return ; 269 276 } … … 277 284 // In IE it can happen that the document is in theory focused but the active element is outside it 278 285 if ( FCKBrowserInfo.IsIE ) 286 { 279 287 this.Document.body.setActive() ; 288 // Kludge for #141... yet more code to workaround IE bugs 289 var range = this.Document.selection.createRange() ; 290 range.moveEnd( "character", 1 ) ; 291 range.select() ; 292 range.collapse( true ) ; 293 range.select() ; 294 } 280 295 } 281 296 }
Note: See TracChangeset
for help on using the changeset viewer.
