Index: trunk/phase3/js2/uploadPage.js |
— | — | @@ -24,8 +24,7 @@ |
25 | 25 | 'api_url': wgServer + wgScriptPath + '/api.php', |
26 | 26 | 'form_rewrite': true, |
27 | 27 | 'target_edit_from': mwUploadFormTarget, |
28 | | - 'new_source_cb': function( orgFilename, oggName ) { |
29 | | - if( $j( '#wpDestFile' ).val() == "" ) |
| 28 | + 'new_source_cb': function( orgFilename, oggName ) { |
30 | 29 | $j( '#wpDestFile' ).val( oggName ); |
31 | 30 | $j( '#wpDestFile' ).doDestCheck({ |
32 | 31 | 'warn_target': '#wpDestFile-warning' |