Changeset 1315


Ignore:
Timestamp:
06/16/12 02:08:18 (7 years ago)
Author:
gogo
Message:

Ticket #1577 - IE7 Insert Anchor, Patch thanks to Anonymous Guest

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/plugins/InsertAnchor/InsertAnchor.js

    r1067 r1315  
    8686        this.selectedHTML = editor.getSelectedHTML(); 
    8787        var sel  = editor.getSelection(); 
    88   var range  = editor.createRange(sel); 
     88  this.range  = editor.createRange(sel); 
    8989  this.a = editor.activeElement(sel); 
    9090   
     
    140140                        if (Xinha.is_ie)  
    141141                        { 
    142             range.pasteHTML(a.outerHTML); 
     142            this.range.pasteHTML(a.outerHTML); 
    143143                } 
    144144                        else  
Note: See TracChangeset for help on using the changeset viewer.