Index: trunk/extensions/UploadWizard/resources/mw.UploadWizard.js |
— | — | @@ -1749,18 +1749,12 @@ |
1750 | 1750 | // the step's contents |
1751 | 1751 | var stepDiv = $j( '#mwe-upwiz-stepdiv-' + stepName ); |
1752 | 1752 | |
1753 | | - if ( _this.currentStepName === stepName ) { |
1754 | | - stepDiv.hide(); |
1755 | | - // we hide the old stepDivs because we are afraid of some z-index elements that may interfere with later tabs |
1756 | | - // this will break if we ever allow people to page back and forth. |
| 1753 | + if ( selectedStepName === stepName ) { |
| 1754 | + stepDiv.show(); |
1757 | 1755 | } else { |
1758 | | - if ( selectedStepName === stepName ) { |
1759 | | - stepDiv.hide(); |
1760 | | - } else { |
1761 | | - stepDiv.show( 1000 ); |
1762 | | - } |
| 1756 | + stepDiv.hide(); |
1763 | 1757 | } |
1764 | | - |
| 1758 | + |
1765 | 1759 | } ); |
1766 | 1760 | |
1767 | 1761 | $j( '#mwe-upwiz-steps' ).arrowStepsHighlight( '#mwe-upwiz-step-' + selectedStepName ); |