https://bugzilla.wikimedia.org/show_bug.cgi?id=31847
--- Comment #9 from Dan Barrett <[email protected]> 2011-10-20 21:52:18 UTC --- The problem is caused by the call to context.fn.restoreCursorAndScrollTop() in resources/jquery/jquery.textselection.js. } else if ( document.selection && document.selection.createRange ) { // IE $(this).focus(); if ( context ) { context.fn.restoreCursorAndScrollTop(); ///////// This is the culprit } .... This function is defined in WikiEditor/modules/jquery.wikiEditor.js and its code looks suspicious :-) 'restoreCursorAndScrollTop': function() { if ( $.client.profile().name === 'msie' ) { var IHateIE = context.$textarea.data( 'IHateIE' ); if ( IHateIE ) { context.$textarea.scrollTop( IHateIE.scrollTop ); context.$textarea.textSelection( 'setSelection', { start: IHateIE.pos[0], end: IHateIE.pos[1] } ); context.$textarea.data( 'IHateIE', null ); } } }, Somehow this must be wrong for IE7 & IE8. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
