Changeset 737 for trunk/modules


Ignore:
Timestamp:
02/14/07 23:47:47 (13 years ago)
Author:
ray
Message:

Ticket #594 IE: insertHTML() inserts HTML outside editor when editor is not focussed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/modules/InternetExplorer/InternetExplorer.js

    r724 r737  
    315315Xinha.prototype.insertHTML = function(html) 
    316316{ 
     317  this.focusEditor(); 
    317318  var sel = this.getSelection(); 
    318319  var range = this.createRange(sel); 
    319   this.focusEditor(); 
    320320  range.pasteHTML(html); 
    321321}; 
Note: See TracChangeset for help on using the changeset viewer.