| 802 | | if(sel.type == 'None') this.focusEditor(); |
| | 802 | |
| | 803 | // ticket:1508 - when you do a key event within a |
| | 804 | // absolute position div, in IE, the toolbar update |
| | 805 | // for formatblock etc causes a getParentElement() (above) |
| | 806 | // which produces a "None" select, then if we focusEditor() it |
| | 807 | // defocuses the absolute div and focuses into the iframe outside of the |
| | 808 | // div somewhere. |
| | 809 | // |
| | 810 | // Removing this is probably a workaround and maybe it breaks something else |
| | 811 | // focusEditor is used in a number of spots, I woudl have thought it should |
| | 812 | // do nothing if the editor is already focused. |
| | 813 | // |
| | 814 | // if(sel.type == 'None') this.focusEditor(); |
| | 815 | |