Changeset 712


Ignore:
Timestamp:
02/02/07 14:46:43 (13 years ago)
Author:
ray
Message:

see #900 retain editing position position between modes

File:
1 edited

Legend:

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

    r707 r712  
    444444  var findIn = ( target == 'textarea' ) ? this._textArea : this._doc.body; 
    445445  range = findIn.createTextRange(); 
    446   if( range.findText( this.cc ) ) 
     446  // in case the cursor is inside a link automatically created from a url 
     447  // the cc also appears in the url and we have to strip it out additionally  
     448  if( range.findText( escape(this.cc) ) ) 
    447449  { 
    448450    range.select(); 
    449451    range.text = ''; 
    450452  } 
     453  if( range.findText( this.cc ) ) 
     454  { 
     455    range.select(); 
     456    range.text = ''; 
     457  } 
    451458  if ( target == 'textarea' ) this._textArea.focus(); 
    452459}; 
Note: See TracChangeset for help on using the changeset viewer.