Changeset 1467
- Timestamp:
- 2008-02-04 05:34:48 (7 months ago)
- Location:
- FCKeditor/trunk
- Files:
-
- 2 modified
-
editor/_source/internals/fck_ie.js (modified) (2 diffs)
-
_whatsnew.html (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
FCKeditor/trunk/editor/_source/internals/fck_ie.js
r1449 r1467 139 139 // Catch cursor selection changes. 140 140 this.EditorDocument.attachEvent("onselectionchange", Doc_OnSelectionChange ) ; 141 142 FCKTools.AddEventListener( FCK.EditorDocument, 'mousedown', Doc_OnMouseDown ) ; 141 143 } 142 144 … … 431 433 return aCreatedLinks ; 432 434 } 435 436 function _FCK_RemoveDisabledAtt() 437 { 438 this.removeAttribute( 'disabled' ) ; 439 } 440 441 function Doc_OnMouseDown( evt ) 442 { 443 var e = evt.srcElement ; 444 445 // Radio buttons and checkboxes should not be allowed to be triggered in IE 446 // in editable mode. Otherwise the whole browser window may be locked by 447 // the buttons. (#1782) 448 if ( e.nodeName.IEquals( 'input' ) && e.type.IEquals( ['radio', 'checkbox'] ) && !e.disabled ) 449 { 450 e.disabled = true ; 451 FCKTools.SetTimeout( _FCK_RemoveDisabledAtt, 1, e ) ; 452 } 453 } -
FCKeditor/trunk/_whatsnew.html
r1466 r1467 74 74 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1728">#1728</a>] External toolbars 75 75 are now properly sized in Opera.</li> 76 <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1782">#1782</a>] Clicking on radio 77 buttons or checkboxes in the editor in IE will no longer cause lockups in IE.</li> 76 78 </ul> 77 79 <p>