* fixed bug in firefogg for passthough mode in upload form
authorMichael Dale <dale@users.mediawiki.org>
Fri, 2 Oct 2009 00:35:18 +0000 (00:35 +0000)
committerMichael Dale <dale@users.mediawiki.org>
Fri, 2 Oct 2009 00:35:18 +0000 (00:35 +0000)
js2/mwEmbed/libAddMedia/mvFirefogg.js

index 9952a51..21421b0 100644 (file)
@@ -451,8 +451,8 @@ mvFirefogg.prototype = { //extends mvBaseUploadInterface
                        //now setup encoder settings based source type:
                        _this.autoEncoderSettings();
 
-                       //if set to passthough update the interface:
-                       if(_this.encoder_settings['passthrough'] == true){
+                       //if set to passthough update the interface (if not a form) 
+                       if(_this.encoder_settings['passthrough'] == true && !_this.form_rewrite){
                                $j(_this.target_passthrough_mode).show();
                        }else{
                                $j(_this.target_passthrough_mode).hide();