r87028 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r87027‎ | r87028 | r87029 >
Date:18:35, 27 April 2011
Author:kaldari
Status:ok
Tags:
Comment:
partial revert of 87026, more logical div nesting structure
Modified paths:
  • /trunk/extensions/UploadWizard/resources/mw.UploadWizardDeed.js (modified) (history)

Diff [purge]

Index: trunk/extensions/UploadWizard/resources/mw.UploadWizardDeed.js
@@ -204,7 +204,7 @@
205205 .growTextArea();
206206 _this.authorInput = $j('<textarea class="mwe-author mwe-long-textarea" name="author" rows="1" cols="40"></textarea>' )
207207 .growTextArea();
208 - licenseInputDiv = $j( '<div id="mwe-upwiz-deed-license-groups"></div>' );
 208+ licenseInputDiv = $j( '<div class="mwe-upwiz-deed-license-groups"></div>' );
209209 _this.licenseInput = new mw.UploadWizardLicenseInput( licenseInputDiv,
210210 undefined,
211211 mw.UploadWizard.config.licensesThirdParty,
@@ -235,8 +235,8 @@
236236 .append( $j( '<label for="author" />' ).text( gM( 'mwe-upwiz-author' ) ).addHint( 'author' ),
237237 _this.authorInput ),
238238 $j( '<div class="mwe-upwiz-thirdparty-license" />' )
239 - .msg( 'mwe-upwiz-source-thirdparty-cases', _this.uploadCount ),
240 - licenseInputDiv
 239+ .append( $j( '<div></div>' ).msg( 'mwe-upwiz-source-thirdparty-cases', _this.uploadCount ) )
 240+ .append( licenseInputDiv )
241241 );
242242
243243 _this.$form.validate( {

Status & tagging log