r52465 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r52464‎ | r52465 | r52466 >
Date:15:29, 26 June 2009
Author:werdna
Status:deferred
Tags:
Comment:
Fix tab-index issue
Modified paths:
  • /trunk/extensions/LiquidThreads/classes/LqtView.php (modified) (history)

Diff [purge]

Index: trunk/extensions/LiquidThreads/classes/LqtView.php
@@ -343,14 +343,14 @@
344344 $subject = $this->request->getVal( 'lqt_subject_field', $db_subject );
345345 $subject_label = wfMsg( 'lqt_subject' );
346346
347 - $disableattr = array();
 347+ $attr = array( 'tabindex' => 1 );
348348 if ( $thread && !$this->user->isAllowed( 'move' ) ) {
349 - $disableattr = array( 'readonly' => 'readonly' );
 349+ $attr['readonly'] = 'readonly';
350350 }
351351
352352 $e->editFormTextBeforeContent .=
353353 Xml::inputLabel( $subject_label, 'lqt_subject_field', 'lqt_subject_field',
354 - 60, $subject, $disableattr ) . Xml::element( 'br' );
 354+ 60, $subject, $attr ) . Xml::element( 'br' );
355355 }
356356
357357 // Quote the original message if we're replying

Status & tagging log