r60519 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r60518‎ | r60519 | r60520 >
Date:23:48, 30 December 2009
Author:dale
Status:deferred
Tags:
Comment:
* removed extra type-check for firefogg
Modified paths:
  • /branches/js2-work/phase3/js/mwEmbed/modules/Sequencer/mw.FirefoggRender.js (modified) (history)
  • /branches/js2-work/phase3/js/uploadPage.js (modified) (history)

Diff [purge]

Index: branches/js2-work/phase3/js/mwEmbed/modules/Sequencer/mw.FirefoggRender.js
@@ -1,5 +1,5 @@
22 /*
3 - * Handles driving the firefogg render system
 3+* Handles driving the firefogg render system
44 */
55
66 /*
Index: branches/js2-work/phase3/js/uploadPage.js
@@ -30,7 +30,7 @@
3131 }
3232 } );
3333 } )
34 - } else {
 34+ } else {
3535 // Add basic upload profile support ( http status monitoring, progress box for
3636 // browsers that support it, etc.)
3737 if ( $j( '#wpUploadFileURL' ).length != 0 ) {
@@ -81,13 +81,7 @@
8282
8383 $j( '#wpSourceTypeURL' ).attr( 'checked', !set );
8484 $j( '#wpUploadFileURL' ).attr( 'disabled', set );
85 -
86 - // If Firefogg is enabled, toggle action according to wpSourceTypeFile selection
87 - if ( wgEnableFirefogg ) {
88 - $j( '#wpUploadFile' ).firefogg( {
89 - 'firefogg_form_action': $j( '#wpSourceTypeFile' ).attr( 'checked' )
90 - } );
91 - }
 85+
9286 },
9387 /**
9488 * Fill in a destination file-name based on a source asset name.

Status & tagging log