r108940 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r108939‎ | r108940 | r108941 >
Date:20:52, 14 January 2012
Author:ialex
Status:ok
Tags:
Comment:
* Fixed a JavaScript error
Modified paths:
  • /trunk/extensions/Configure/CHANGELOG (modified) (history)
  • /trunk/extensions/Configure/Configure.js (modified) (history)
  • /trunk/extensions/Configure/Configure.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Configure/CHANGELOG
@@ -1,6 +1,9 @@
22 This file lists changes on this extension. Localisation updates are done
33 through translatewiki.net and are not listed here.
44
 5+0.17.1 - 14 January 2012
 6+ Fixed a JavaScript error.
 7+
58 0.17.0 - 13 January 2012
69 Rewrote the extension to use local context instead of global variables where
710 possible.
Index: trunk/extensions/Configure/Configure.js
@@ -147,7 +147,7 @@
148148 var startName = 'wp' + table.attr( 'id' );
149149 table.chidren( 'tr' ).each( function( i ) {
150150 if ( i == 0 ) {
151 - continue;
 151+ return;
152152 }
153153 var inputs = $( this ).chidren( 'input' );
154154 inputs[0].attr( 'name', startName + '-key-' + (i - 1) );
Index: trunk/extensions/Configure/Configure.php
@@ -17,7 +17,7 @@
1818 'author' => array( 'Alexandre Emsenhuber', 'Andrew Garrett' ),
1919 'url' => 'https://www.mediawiki.org/wiki/Extension:Configure',
2020 'descriptionmsg' => 'configure-desc',
21 - 'version' => '0.17.0',
 21+ 'version' => '0.17.1',
2222 );
2323
2424 # Configuration part

Status & tagging log