Index: branches/new-upload/phase3/js2/mwEmbed/libAddMedia/mvFirefogg.js |
— | — | @@ -575,6 +575,7 @@ |
576 | 576 | * its all very fragile to read the html output and guess at stuff |
577 | 577 | */ |
578 | 578 | procPageResponse:function( result_page ){ |
| 579 | + var _this = this; |
579 | 580 | js_log('f:procPageResponse'); |
580 | 581 | var sstring = 'var wgTitle = "' + this.formData['wpDestFile'].replace('_',' '); |
581 | 582 | |
— | — | @@ -585,7 +586,7 @@ |
586 | 587 | } |
587 | 588 | |
588 | 589 | //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 ); |
590 | 591 | |
591 | 592 | if( result_page && result_page.toLowerCase().indexOf( sstring.toLowerCase() ) != -1){ |
592 | 593 | js_log( 'upload done got redirect found: ' + sstring + ' r:' + _this.upload_done_action ); |