r70906 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r70905‎ | r70906 | r70907 >
Date:18:52, 11 August 2010
Author:adam
Status:deferred
Tags:
Comment:
LQT - triggering focus on the wikieditor when it's added to the page.
Modified paths:
  • /trunk/extensions/LiquidThreads/lqt.js (modified) (history)

Diff [purge]

Index: trunk/extensions/LiquidThreads/lqt.js
@@ -179,6 +179,7 @@
180180 $j( '#wpTextbox1' ).wikiEditor( 'addModule', { 'toolbar': liquidThreads.toolbar.config, 'dialogs': liquidThreads.toolbar.dialogs } );
181181 // cleanup unnecessary things from the old toolbar
182182 $j( '#editpage-specialchars' ).remove();
 183+ $j( '#wpTextbox1' ).focus()
183184 } else {
184185 // Add old toolbar
185186 mwSetupToolbar()

Status & tagging log