Show
Ignore:
Timestamp:
02/27/08 15:29:13 (11 months ago)
Author:
doughays
Message:

Fixes #5968. On IE, the focus was being set to each Editor as it was rendered which was trumping the focusOnLoad. I made each editor temporarily unselectable in IE which prevented incorrect focusing. This also fixes the onChange problem in IE were the first onChange did not fire because the automatic focus was not detected by the widget.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • dijit/trunk/tests/test_Editor.html

    r12703 r12747  
    6464        <h2>Created from div</h2> 
    6565        <div style="border: 1px solid black;"> 
    66                 <div dojoType="dijit.Editor" id="editor1"><p>This instance is created from a div directly with default toolbar and plugins</p></div> 
     66                <div dojoType="dijit.Editor" id="editor1" 
     67                        onChange="console.log('user onChange handler: ' + arguments[0])" 
     68                ><p>This instance is created from a div directly with default toolbar and plugins</p></div> 
    6769        </div> 
    6870        <button onClick="dijit.byId('editor1').destroy()">destroy</button>