r102745 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r102744‎ | r102745 | r102746 >
Date:03:21, 11 November 2011
Author:neilk
Status:ok
Tags:
Comment:
accidentally flipped test for requiredness of description in r102461; fixing
Modified paths:
  • /trunk/extensions/UploadWizard/resources/mw.UploadWizardDetails.js (modified) (history)

Diff [purge]

Index: trunk/extensions/UploadWizard/resources/mw.UploadWizardDetails.js
@@ -325,7 +325,7 @@
326326
327327 mw.UploadWizardUtil.makeToggler( moreDetailsCtrlDiv, moreDetailsDiv );
328328
329 - var hasIdField = mw.UploadWizard.config.idField ? true : false;
 329+ var hasIdField = mw.UploadWizard.config.idField ? false : true;
330330 _this.addDescription( hasIdField, mw.config.get( 'wgUserLanguage' ) );
331331 $j( containerDiv ).append( _this.div );
332332

Follow-up revisions

RevisionCommit summaryAuthorDate
r102747MFT r102745neilk03:25, 11 November 2011

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r102461miscellaneous fixes for linting purposes (many could cause IE issues)neilk23:02, 8 November 2011

Status & tagging log