Changes between Initial Version and Version 1 of Ticket #5858
- Timestamp:
- Jun 21, 2010, 1:52:51 PM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #5858
- Property Keywords HasPatch added
-
Ticket #5858 – Description
initial v1 1 We use 3.3 of CKEDITOR . we face problem in the ScrollintoView function. After digging in the function's code let see the values of the local variables1 We use 3.3 of CKEDITOR. We face problem in the ScrollintoView function. After digging in the function's code let see the values of the local variables 2 2 3 {{{ 3 4 offset= 0 ; 4 5 CurrentScroll =114; 5 6 winHeight = 680; 7 }}} 6 8 7 but this code block is generating error 8 ''' if ( offset > currentScroll || offset < (currentScroll - winHeight)) 9 win.$.scrollTo( 0, offset ); 10 ''' 11 I solve the error by new code 12 '''if ( offset > currentScroll || offset < (currentScroll - winHeight) || offset == 0 ) 13 win.$.scrollTo( 0, offset );''' 9 But this code block is generating error: 14 10 15 Please see the BUG ASAP . 11 {{{ 12 if ( offset > currentScroll || offset < (currentScroll - winHeight)) 13 win.$.scrollTo( 0, offset ); 14 }}} 16 15 16 I solve the error by new code: 17 17 18 {{{ 19 if ( offset > currentScroll || offset < (currentScroll - winHeight) || offset == 0 ) 20 win.$.scrollTo( 0, offset ); 21 }}}}