Changeset 458 for trunk


Ignore:
Timestamp:
01/19/06 00:35:43 (14 years ago)
Author:
mokhet
Message:

apply _getSelection patch from ticket #656 and fix BSD-style bracing

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/htmlarea.js

    r457 r458  
    44674467 
    44684468// returns the current selection object 
    4469 HTMLArea.prototype._getSelection = function() { 
    4470   if (HTMLArea.is_ie) { 
     4469if (HTMLArea.is_ie) 
     4470{ 
     4471  HTMLArea.prototype._getSelection = function() 
     4472  { 
    44714473    return this._doc.selection; 
    4472   } else { 
     4474  }; 
     4475} 
     4476else 
     4477{ 
     4478  HTMLArea.prototype._getSelection = function() 
     4479  { 
    44734480    return this._iframe.contentWindow.getSelection(); 
    4474   } 
    4475 }; 
     4481  }; 
     4482} 
    44764483 
    44774484// returns a range for the current selection 
Note: See TracChangeset for help on using the changeset viewer.