Changeset 1056 for trunk/modules/Dialogs


Ignore:
Timestamp:
10/04/08 00:26:54 (11 years ago)
Author:
ray
Message:

#1280 restoreSelection doesn't always work in internet explorer

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/modules/Dialogs/XinhaDialog.js

    r1044 r1056  
    478478    } 
    479479  } 
    480    // Restore the selection --> should this happen only with modals? 
    481   this.editor.restoreSelection(this._lastRange); 
     480 
     481  if (this.modal) 
     482  { 
     483    this.editor.restoreSelection(this._lastRange); 
     484  } 
    482485   
    483486  this.dialogShown = false; 
Note: See TracChangeset for help on using the changeset viewer.