r52038 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r52037‎ | r52038 | r52039 >
Date:10:04, 17 June 2009
Author:j
Status:deferred
Tags:
Comment:
_this.updateProgressWin
Modified paths:
  • /branches/new-upload/phase3/js2/mwEmbed/libAddMedia/mvFirefogg.js (modified) (history)

Diff [purge]

Index: branches/new-upload/phase3/js2/mwEmbed/libAddMedia/mvFirefogg.js
@@ -575,6 +575,7 @@
576576 * its all very fragile to read the html output and guess at stuff
577577 */
578578 procPageResponse:function( result_page ){
 579+ var _this = this;
579580 js_log('f:procPageResponse');
580581 var sstring = 'var wgTitle = "' + this.formData['wpDestFile'].replace('_',' ');
581582
@@ -585,7 +586,7 @@
586587 }
587588
588589 //set the error text in case we dont' get far along in processing the response
589 - updateProgressWin( gM('mv_upload_completed'), result_txt );
 590+ _this.updateProgressWin( gM('mv_upload_completed'), result_txt );
590591
591592 if( result_page && result_page.toLowerCase().indexOf( sstring.toLowerCase() ) != -1){
592593 js_log( 'upload done got redirect found: ' + sstring + ' r:' + _this.upload_done_action );

Status & tagging log