Changeset 1060


Ignore:
Timestamp:
10/05/08 18:33:14 (11 years ago)
Author:
ray
Message:

#1293 [Gecko] Window scrolls to top of editing area when switching from text to WYSIWYG

File:
1 edited

Legend:

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

    r1051 r1060  
    799799      var posEl = doc.getElementById('XinhaEditingPostion'); 
    800800      this.selectNodeContents(posEl); 
    801       posEl.scrollIntoView(true); 
     801      this.scrollToElement(posEl); 
    802802      posEl.parentNode.removeChild(posEl); 
    803803 
Note: See TracChangeset for help on using the changeset viewer.