Changeset 13156
- Timestamp:
- 03/20/08 05:40:23 (10 months ago)
- Location:
- dijit/trunk
- Files:
-
- 1 added
- 1 modified
-
tests/_editor/test_6112.html (added)
-
_editor/RichText.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
dijit/trunk/_editor/RichText.js
r13138 r13156 862 862 }else if(this.editNode && this.editNode.focus){ 863 863 // editNode may be hidden in display:none div, lets just punt in this case 864 this.editNode.focus(); 864 //this.editNode.focus(); -> causes IE to scroll always (strict and quirks mode) to the top the Iframe 865 // if we fire the event manually and let the browser handle the focusing, the latest 866 // cursor position is focused like in FF 867 this.iframe.fireEvent('onfocus', document.createEventObject()); // createEventObject only in IE 865 868 // }else{ 866 869 // TODO: should we throw here?