Changeset 1056
- Timestamp:
- 10/03/08 19:26:54 (2 months ago)
- Location:
- trunk/modules
- Files:
-
- 2 modified
-
Dialogs/XinhaDialog.js (modified) (1 diff)
-
InternetExplorer/InternetExplorer.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/modules/Dialogs/XinhaDialog.js
r1044 r1056 478 478 } 479 479 } 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 } 482 485 483 486 this.dialogShown = false; -
trunk/modules/InternetExplorer/InternetExplorer.js
r1051 r1056 451 451 Xinha.prototype.restoreSelection = function(savedSelection) 452 452 { 453 if (!savedSelection) return; 453 454 // In order to prevent triggering the IE bug mentioned below, we will try to 454 455 // optimize by not restoring the selection if it happens to match the current
