Index: trunk/extensions/UploadWizard/resources/mw.UploadWizardDetails.js |
— | — | @@ -216,15 +216,13 @@ |
217 | 217 | showAnim: 'slideDown', |
218 | 218 | showButtonPanel: true |
219 | 219 | } ) |
220 | | - .data( 'open', 1 ) |
| 220 | + .data( 'open', 0 ) |
221 | 221 | .click( function() { |
222 | 222 | var $this = $j( this ); |
223 | 223 | if ( $this.data( 'open' ) === 0 ) { |
224 | | - $this.data( 'open', 1 ); |
225 | | - $this.datepicker( 'show' ); |
| 224 | + $this.data( 'open', 1 ).datepicker( 'show' ); |
226 | 225 | } else { |
227 | | - $this.data( 'open', 0 ); |
228 | | - $this.datepicker( 'hide' ); |
| 226 | + $this.data( 'open', 0 ).datepicker( 'hide' ); |
229 | 227 | } |
230 | 228 | } ); |
231 | 229 | |