Index: branches/new-upload/phase3/js2/mwEmbed/example_usage/Firefogg_Make_Advanced.html |
— | — | @@ -2,7 +2,7 @@ |
3 | 3 | <html><head> |
4 | 4 | <meta http-equiv="content-type" content="text/html; charset=UTF-8"> |
5 | 5 | <title>Firefogg - Make Ogg Video in your Browser</title> |
6 | | - <script type="text/javascript" src="../jsScriptLoader.php?class=mv_embed,window.jQuery,mvBaseUploadInterface,mvFirefogg,mvAdvFirefogg,$j.ui,$j.ui.progressbar,$j.ui.dialog,$j.cookie,$j.ui.accordion,$j.ui.slider,$j.ui.datepicker"></script> |
| 6 | + <script type="text/javascript" src="../jsScriptLoader.php?urid=52884&class=mv_embed,window.jQuery,mvBaseUploadInterface,mvFirefogg,mvAdvFirefogg,$j.ui,$j.ui.progressbar,$j.ui.dialog,$j.cookie,$j.ui.accordion,$j.ui.slider,$j.ui.datepicker"></script> |
7 | 7 | <style type="text/css" media="all">body { |
8 | 8 | margin: 0; |
9 | 9 | padding: 0; |
Index: branches/new-upload/phase3/js2/mwEmbed/libAddMedia/mvAdvFirefogg.js |
— | — | @@ -310,7 +310,7 @@ |
311 | 311 | var icon = (target=='target_btn_save_local_file')?'ui-icon-video':'ui-icon-folder-open'; |
312 | 312 | return '<a class="ui-state-default ui-corner-all ui-icon_link '+ |
313 | 313 | target +'" href="#"><span class="ui-icon ' + icon + '"/>' + |
314 | | - gM( 'fogg-' + target.substring(11)) + |
| 314 | + gM( 'fogg-' + target.substring(11) ) + |
315 | 315 | '</a>'; |
316 | 316 | }else if( target=='target_use_latest_fox' || |
317 | 317 | target=='target_please_install' || |
— | — | @@ -320,7 +320,7 @@ |
321 | 321 | '<p><span style="float: left; margin-right: 0.3em;" class="ui-icon ui-icon-alert"/>'+ |
322 | 322 | gM( 'fogg-' + target.substring(7)) +'</p>'+ |
323 | 323 | '</div>'; |
324 | | - }else if(target=='target_input_file_name'){ |
| 324 | + }else if( target == 'target_input_file_name'){ |
325 | 325 | return '<input style="" class="text ui-widget-content ui-corner-all ' + target + '" '+ |
326 | 326 | 'type="text" value="' + gM( 'fogg-' + target.substring(11)) + '"/> '; |
327 | 327 | }else{ |
— | — | @@ -415,10 +415,10 @@ |
416 | 416 | js_log('tw:' + $j(this.selector).width() + |
417 | 417 | 'ssf:' + $j(this.target_btn_select_new_file).width() + |
418 | 418 | 'sf:' + $j(this.target_btn_save_local_file).width() ); |
419 | | - $j(this.target_input_file_name).width( |
420 | | - $j(this.selector).width() - ( $j(this.target_btn_select_new_file).width() + |
421 | | - $j(this.target_btn_save_local_file).width() + 50 ) |
422 | | - ) |
| 419 | + |
| 420 | + var tiwidth = $j(this.selector).width() - ( $j(this.target_btn_select_new_file).width() + |
| 421 | + $j(this.target_btn_save_local_file).width() + 80 ); |
| 422 | + $j(this.target_input_file_name).width( tiwidth ); |
423 | 423 | |
424 | 424 | //special preset action: |
425 | 425 | $j(this.selector + ' ._preset_select').change(function(){ |