r57703 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r57702‎ | r57703 | r57704 >
Date:11:57, 14 October 2009
Author:werdna
Status:deferred
Tags:
Comment:
Fix edit toolbar for LiquidThreads (not sure if this works with the enhanced editing toolbar)
Modified paths:
  • /trunk/extensions/LiquidThreads/lqt.js (modified) (history)

Diff [purge]

Index: trunk/extensions/LiquidThreads/lqt.js
@@ -88,6 +88,14 @@
8989 // Add toolbar
9090 mwSetupToolbar();
9191
 92+ currentFocused = $j(container).find('#wpTextbox1');
 93+ $j(container).find('#wpTextbox1,#wpSummary').focus(
 94+ function() {
 95+ currentFocused = this;
 96+ } );
 97+
 98+ document.editform = $j(container).find('#editform');
 99+
92100 // Check for live preview
93101 if ( $j('#wpLivePreview').length ) {
94102 $j.getScript( stylepath+'/common/preview.js',

Status & tagging log