r57934 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r57933‎ | r57934 | r57935 >
Date:23:31, 19 October 2009
Author:dale
Status:deferred
Tags:
Comment:
* fixed bug 21193 updated on new source selection
Modified paths:
  • /trunk/phase3/js2/uploadPage.js (modified) (history)

Diff [purge]

Index: trunk/phase3/js2/uploadPage.js
@@ -24,8 +24,7 @@
2525 'api_url': wgServer + wgScriptPath + '/api.php',
2626 'form_rewrite': true,
2727 'target_edit_from': mwUploadFormTarget,
28 - 'new_source_cb': function( orgFilename, oggName ) {
29 - if( $j( '#wpDestFile' ).val() == "" )
 28+ 'new_source_cb': function( orgFilename, oggName ) {
3029 $j( '#wpDestFile' ).val( oggName );
3130 $j( '#wpDestFile' ).doDestCheck({
3231 'warn_target': '#wpDestFile-warning'

Status & tagging log