Ignore:
Timestamp:
10/03/08 19:03:48 (11 years ago)
Author:
ray
Message:

#1224 sevenbitclean / ghost cursor error with html mode toggle

File:
1 edited

Legend:

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

    r1044 r1051  
    789789 
    790790// Control character for retaining edit location when switching modes 
    791 Xinha.prototype.cc = String.fromCharCode(0x2009); 
     791Xinha.cc = String.fromCharCode(0x2009); 
    792792 
    793793Xinha.prototype.setCC = function ( target ) 
    794794{ 
    795   var cc = this.cc; 
     795  var cc = Xinha.cc; 
    796796  if ( target == "textarea" ) 
    797797  { 
     
    837837  // in case the cursor is inside a link automatically created from a url 
    838838  // the cc also appears in the url and we have to strip it out additionally  
    839   if( range.findText( escape(this.cc) ) ) 
     839  if( range.findText( escape(Xinha.cc) ) ) 
    840840  { 
    841841    range.select(); 
    842842    range.text = ''; 
    843843  } 
    844   if( range.findText( this.cc ) ) 
     844  if( range.findText( Xinha.cc ) ) 
    845845  { 
    846846    range.select(); 
Note: See TracChangeset for help on using the changeset viewer.