r61402 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r61401‎ | r61402 | r61403 >
Date:22:35, 22 January 2010
Author:catrope
Status:deferred
Tags:
Comment:
UsabilityInitiative: (bug 22201) Inserting headers with the dropdown in the toolbar doesn't trigger an NTOC update
Modified paths:
  • /trunk/extensions/UsabilityInitiative/js/plugins/jquery.wikiEditor.html (modified) (history)

Diff [purge]

Index: trunk/extensions/UsabilityInitiative/js/plugins/jquery.wikiEditor.html
@@ -94,10 +94,10 @@
9595 }
9696 var context = window.parent.jQuery.wikiEditor.instances[get( 'instance' )].data( 'wikiEditor-context' );
9797 $j( document )
98 - .bind( 'keyup mouseup paste cut', function( event ) {
 98+ .bind( 'keyup mouseup paste cut encapsulateSelection', function( event ) {
9999 context.fn.trigger( 'change', event );
100100 } )
101 - .delayedBind( 250, 'keyup mouseup paste cut', function( event ) {
 101+ .delayedBind( 250, 'keyup mouseup paste cut encapsulateSelection', function( event ) {
102102 context.fn.trigger( 'delayedChange', event );
103103 } );
104104 } );

Status & tagging log