Changeset 981 for trunk/modules


Ignore:
Timestamp:
03/21/08 18:29:43 (11 years ago)
Author:
ray
Message:

#1155 InsertAnchor? broken in IE 7

File:
1 edited

Legend:

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

    r963 r981  
    596596  var sel = this.getSelection(); 
    597597  range = this._doc.createRange(); 
     598  if ( !node ) 
     599  { 
     600     sel.removeAllRanges(); 
     601     return; 
     602  } 
    598603  // Tables and Images get selected as "objects" rather than the text contents 
    599604  if ( collapsed && node.tagName && node.tagName.toLowerCase().match(/table|img|input|textarea|select/) ) 
Note: See TracChangeset for help on using the changeset viewer.