* restored copy-by-url uploads in add-media-wizard per r59320 changes
authorMichael Dale <dale@users.mediawiki.org>
Wed, 25 Nov 2009 20:15:44 +0000 (20:15 +0000)
committerMichael Dale <dale@users.mediawiki.org>
Wed, 25 Nov 2009 20:15:44 +0000 (20:15 +0000)
js2/mwEmbed/libAddMedia/mvBaseUploadInterface.js
js2/mwEmbed/libAddMedia/mvFirefogg.js

index c223a25..5dbb6c3 100644 (file)
@@ -492,8 +492,8 @@ mvBaseUploadInterface.prototype = {
                        $j( '#up-status-container' ).html(
                                gM( 'mwe-upload-stats-fileprogress',
                                        [
-                                               $mw.lang.formatSize( data.upload['loaded'] ),
-                                               $mw.lang.formatSize( data.upload['content_length'] )
+                                               mw.lang.formatSize( data.upload['loaded'] ),
+                                               mw.lang.formatSize( data.upload['content_length'] )
                                        ]
                                )
                        );
@@ -504,7 +504,7 @@ mvBaseUploadInterface.prototype = {
                        $j( '#up-status-container' ).html(
                                gM( 'mwe-upload-stats-fileprogress',
                                        [
-                                               $mw.lang.formatSize( data.upload['loaded'] ),
+                                               mw.lang.formatSize( data.upload['loaded'] ),
                                                gM( 'mwe-upload-unknown-size' )
                                        ]
                                )
index aeb40a3..1add58b 100644 (file)
@@ -819,6 +819,7 @@ mvFirefogg.prototype = { // extends mvBaseUploadInterface
                                        //_this.formData[ 'wpIgnoreWarning' ]='true';
                                        _this.formData['wpSourceType'] = 'upload';
                                        _this.formData['action'] = 'submit';
+                                       
                                        // wpUploadFile is set by firefogg
                                        delete _this.formData['file'];