Index: branches/new-upload/phase3/js2/mwEmbed/libAddMedia/seqRemoteSearchDriver.js |
— | — | @@ -5,7 +5,14 @@ |
6 | 6 | return this.init( iObj ) |
7 | 7 | } |
8 | 8 | seqRemoteSearchDriver.prototype = { |
9 | | - init:function( iObj ){ |
| 9 | + init:function( this_seq ){ |
| 10 | + //setup remote search driver with a seq parent: |
| 11 | + this.pSeq = this_seq; |
| 12 | + var iObj = { |
| 13 | + 'target_container':'#tab-ic-cliplib', |
| 14 | + 'local_wiki_api_url': this_seq.getLocalApiUrl(), |
| 15 | + 'instance_name': this_seq.instance_name + '.mySearch' |
| 16 | + } |
10 | 17 | //inherit the remoteSearchDriver properties:n |
11 | 18 | var tmpRSD = new remoteSearchDriver( iObj ); |
12 | 19 | for(var i in tmpRSD){ |
— | — | @@ -46,7 +53,7 @@ |
47 | 54 | return $j('#clone_'+this.id).get(0); |
48 | 55 | }, |
49 | 56 | drag:function(e, ui){ |
50 | | - insert_key = _this.p_seq.clipDragUpdate(ui, this); |
| 57 | + insert_key = _this.pSeq.clipDragUpdate(ui, this); |
51 | 58 | }, |
52 | 59 | //do contain: |
53 | 60 | containment:'#container_track_0', |
Index: branches/new-upload/phase3/js2/mwEmbed/libAddMedia/mvFirefogg.js |
— | — | @@ -481,7 +481,7 @@ |
482 | 482 | js_log('done with encoding do upload:' + _this.editForm.action); |
483 | 483 | // ignore warnings & set source type |
484 | 484 | //_this.formData[ 'wpIgnoreWarning' ]='true'; |
485 | | - _this.formData[ 'wpSourceType' ]= 'file'; |
| 485 | + _this.formData[ 'wpSourceType' ] = 'file'; |
486 | 486 | _this.formData[ 'action' ] = 'submit'; |
487 | 487 | |
488 | 488 | _this.fogg.post( _this.editForm.action, 'wpUploadFile', JSON.stringify( _this.formData ) ); |
Index: branches/new-upload/phase3/js2/mwEmbed/libSequencer/mvSequencer.js |
— | — | @@ -139,12 +139,7 @@ |
140 | 140 | 'remoteSearchDriver', |
141 | 141 | 'seqRemoteSearchDriver' |
142 | 142 | ], function(){ |
143 | | - this_seq.mySearch = new seqRemoteSearchDriver({ |
144 | | - 'p_seq':this_seq, |
145 | | - 'target_container':'#cliplib_ic', |
146 | | - 'local_wiki_api_url': this_seq.getLocalApiUrl(), |
147 | | - 'instance_name': this_seq.instance_name + '.mySearch' |
148 | | - }); |
| 143 | + this_seq.mySearch = new seqRemoteSearchDriver(this_seq); |
149 | 144 | this_seq.mySearch.doInitDisplay(); |
150 | 145 | }); |
151 | 146 | } |
— | — | @@ -550,7 +545,7 @@ |
551 | 546 | '<a id="mv_menu_item_'+tab_id+'" href="#tab-ic-' + tab_id + '">'+gM('menu_' + tab_id )+ |
552 | 547 | '</li>'; |
553 | 548 | |
554 | | - tabc += '<div id="tab-ic-' + tab_id + '" >'; |
| 549 | + tabc += '<div id="tab-ic-' + tab_id + '" style="overflow:auto;" >'; |
555 | 550 | tabc += (menu_item.html) ? menu_item.html : '<h3>' + gM('menu_'+tab_id) + '</h3>'; |
556 | 551 | tabc +='</div>'; |
557 | 552 | |