r96041 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r96040‎ | r96041 | r96042 >
Date:21:13, 1 September 2011
Author:multichill
Status:ok
Tags:
Comment:
Bumping the size of mwe-idfield from 15 to 25. Requested by Basvb to get id's working in Wallonia.
Modified paths:
  • /trunk/extensions/UploadWizard/resources/mw.UploadWizardDetails.js (modified) (history)

Diff [purge]

Index: trunk/extensions/UploadWizard/resources/mw.UploadWizardDetails.js
@@ -178,7 +178,7 @@
179179
180180 if ( mw.UploadWizard.config.idField != '' ) {
181181 var idFieldId = "idField" + ( _this.upload.index ).toString();
182 - _this.idFieldInput = $j( '<input type="text" id="' + idFieldId + '" name="' + idFieldId + '" class="mwe-idfield" maxlength="15"/>' );
 182+ _this.idFieldInput = $j( '<input type="text" id="' + idFieldId + '" name="' + idFieldId + '" class="mwe-idfield" maxlength="25"/>' );
183183
184184 _this.$form.append(
185185 $j( '<div class="mwe-upwiz-details-input-error"><label class="mwe-validator-error" for="' + idFieldId + '" generated="true"/></div>' ),

Status & tagging log