Index: branches/MwEmbedStandAlone/mwEmbed.js |
— | — | @@ -1124,7 +1124,8 @@ |
1125 | 1125 | mw.load([ |
1126 | 1126 | [ |
1127 | 1127 | '$j.ui', |
1128 | | - '$j.widget' |
| 1128 | + '$j.widget', |
| 1129 | + '$j.ui.position' |
1129 | 1130 | ], |
1130 | 1131 | uiRequest |
1131 | 1132 | ], function() { |
Index: branches/MwEmbedStandAlone/modules/UploadWizard/loader.js |
— | — | @@ -61,6 +61,8 @@ |
62 | 62 | var libraries = [ |
63 | 63 | [ |
64 | 64 | '$j.ui', |
| 65 | + '$j.widget', |
| 66 | + '$j.ui.position', |
65 | 67 | '$j.ui.progressbar', |
66 | 68 | '$j.ui.dialog', |
67 | 69 | '$j.ui.draggable', |
Index: branches/MwEmbedStandAlone/modules/TimedText/loader.js |
— | — | @@ -82,6 +82,7 @@ |
83 | 83 | [ |
84 | 84 | '$j.ui', |
85 | 85 | '$j.widget', |
| 86 | + '$j.ui.position', |
86 | 87 | '$j.fn.menu', |
87 | 88 | "mw.style.jquerymenu", |
88 | 89 | |
Index: branches/MwEmbedStandAlone/modules/AddMedia/loader.js |
— | — | @@ -60,6 +60,8 @@ |
61 | 61 | ], [ |
62 | 62 | '$j.ui.resizable', |
63 | 63 | '$j.ui.mouse', |
| 64 | + '$j.widget', |
| 65 | + '$j.ui.position', |
64 | 66 | '$j.ui.draggable', |
65 | 67 | '$j.ui.dialog', |
66 | 68 | '$j.ui.tabs', |
— | — | @@ -72,12 +74,14 @@ |
73 | 75 | [ |
74 | 76 | 'mw.UploadHandler', |
75 | 77 | 'mw.UploadInterface', |
76 | | - '$j.ui' |
| 78 | + '$j.ui', |
| 79 | + '$j.widget' |
77 | 80 | ], |
78 | 81 | [ |
79 | 82 | '$j.ui.progressbar', |
| 83 | + '$j.ui.position', |
| 84 | + '$j.ui.mouse', |
80 | 85 | '$j.ui.dialog', |
81 | | - '$j.ui.mouse', |
82 | 86 | '$j.ui.draggable' |
83 | 87 | ] |
84 | 88 | ]; |
Index: branches/MwEmbedStandAlone/modules/AddMedia/mw.RemoteSearchDriver.js |
— | — | @@ -850,14 +850,8 @@ |
851 | 851 | .attr({ |
852 | 852 | 'id' : 'rsd_modal_target', |
853 | 853 | 'title' : gM( 'mwe-add_media_wizard' ) |
854 | | - }) |
855 | | - .css( { |
856 | | - 'position' : 'absolute', |
857 | | - 'top' : '3em', |
858 | | - 'left' : '0px', |
859 | | - 'bottom' : '3em', |
860 | | - 'right' : '0px' |
861 | | - }) |
| 854 | + }) |
| 855 | + .css("position", 'relative') |
862 | 856 | ); |
863 | 857 | // Get layout |
864 | 858 | mw.log( 'width: ' + $j( window ).width() + ' height: ' + $j( window ).height() ); |
— | — | @@ -872,6 +866,9 @@ |
873 | 867 | bgiframe: true, |
874 | 868 | autoOpen: true, |
875 | 869 | modal: true, |
| 870 | + width: $j(window).width()-10, |
| 871 | + height: $j(window).height()-10, |
| 872 | + position : 'center', |
876 | 873 | draggable: false, |
877 | 874 | resizable: false, |
878 | 875 | buttons: cancelButton, |
— | — | @@ -882,7 +879,7 @@ |
883 | 880 | $j( this ).parents( '.ui-dialog' ).fadeOut( 'slow' ); |
884 | 881 | } |
885 | 882 | } ); |
886 | | - $j( _this.target_container ).dialogFitWindow(); |
| 883 | + //$j( _this.target_container ).dialogFitWindow(); |
887 | 884 | |
888 | 885 | // Add the window resize hook to keep dialog layout |
889 | 886 | $j( window ).resize( function() { |
Index: branches/MwEmbedStandAlone/modules/AjaxCategories/mw.AjaxCategories.js |
— | — | @@ -110,6 +110,7 @@ |
111 | 111 | [ |
112 | 112 | '$j.ui', |
113 | 113 | '$j.widget', |
| 114 | + '$j.ui.position', |
114 | 115 | '$j.ui.dialog', |
115 | 116 | '$j.fn.suggestions' |
116 | 117 | ], |
— | — | @@ -167,7 +168,7 @@ |
168 | 169 | confirmEdit : function( page, fn, actionSummary, doneFn ) { |
169 | 170 | // Load jQuery UI |
170 | 171 | mw.load( |
171 | | - ['$j.ui', '$j.ui.dialog', '$j.fn.suggestions'], |
| 172 | + ['$j.ui', '$j.ui.position', '$j.ui.dialog', '$j.fn.suggestions'], |
172 | 173 | function() { |
173 | 174 | // Produce a confirmation dialog |
174 | 175 | |
Index: branches/MwEmbedStandAlone/modules/EmbedPlayer/skins/kskin/mw.style.PlayerSkinKskin.css |
— | — | @@ -167,6 +167,7 @@ |
168 | 168 | float: left; |
169 | 169 | font-size: 11px; |
170 | 170 | padding: 13px 10px 15px 15px; |
| 171 | + overflow-y:scroll; |
171 | 172 | } |
172 | 173 | |
173 | 174 | .k-player ul.k-menu-bar { |
Index: branches/MwEmbedStandAlone/modules/Sequencer/loader.js |
— | — | @@ -89,6 +89,7 @@ |
90 | 90 | // UI components used in the sequencer interface: |
91 | 91 | '$j.ui.mouse', |
92 | 92 | '$j.widget', |
| 93 | + '$j.ui.position', |
93 | 94 | '$j.ui.accordion', |
94 | 95 | '$j.ui.dialog', |
95 | 96 | '$j.ui.droppable', |
Index: branches/MwEmbedStandAlone/remotes/AddMediaWizardEditPage.js |
— | — | @@ -88,6 +88,6 @@ |
89 | 89 | } ); |
90 | 90 | } |
91 | 91 | } |
92 | | - }, 120 ) |
| 92 | + }, 100 ) |
93 | 93 | |
94 | 94 | } ); |
Index: branches/MwEmbedStandAlone/remotes/mediaWiki.js |
— | — | @@ -67,9 +67,6 @@ |
68 | 68 | } |
69 | 69 | |
70 | 70 | |
71 | | - |
72 | | - |
73 | | - |
74 | 71 | /******************************* |
75 | 72 | * Wikimedia specific config |
76 | 73 | ********************************/ |
— | — | @@ -77,13 +74,6 @@ |
78 | 75 | mw.setConfig( 'SwarmTransport.Enable', true ); |
79 | 76 | mw.setConfig( 'SmilPlayer.AssetDomainWhiteList', ['upload.wikimedia.org'] ); |
80 | 77 | |
81 | | - |
82 | | - |
83 | | - |
84 | | - |
85 | | - |
86 | | - |
87 | | - |
88 | 78 | // Use wikibits onLoad hook: ( since we don't have js2 / mw object loaded ) |
89 | 79 | addOnloadHook( function() { |
90 | 80 | doPageSpecificRewrite(); |
— | — | @@ -190,6 +180,8 @@ |
191 | 181 | 'mw.UploadInterface', |
192 | 182 | 'mw.Firefogg', |
193 | 183 | '$j.ui', |
| 184 | + '$j.widget', |
| 185 | + '$j.ui.position', |
194 | 186 | '$j.ui.progressbar', |
195 | 187 | '$j.ui.dialog', |
196 | 188 | '$j.ui.draggable' |