Index: trunk/extensions/DonationInterface/payflowpro_gateway/forms/rapidhtml/js/lightbox1.js |
— | — | @@ -41,7 +41,7 @@ |
42 | 42 | $( '#steps .step' ).each( function(i) { |
43 | 43 | var $step = $( this ); |
44 | 44 | widths[i] = stepsWidth; |
45 | | - stepsWidth += $step.width(); |
| 45 | + stepsWidth += 600; // Hard-coding as $.width() is not working for some reason |
46 | 46 | } ); |
47 | 47 | $( '#steps' ).width( stepsWidth ); |
48 | 48 | |
Index: trunk/extensions/DonationInterface/payflowpro_gateway/payflowpro_gateway.php |
— | — | @@ -188,6 +188,13 @@ |
189 | 189 | 'forms/rapidhtml/js/lightbox1.js', |
190 | 190 | ), |
191 | 191 | 'dependencies' => array( |
| 192 | + 'jquery.ui.core', |
| 193 | + 'jquery.ui.widget', |
| 194 | + 'jquery.ui.mouse', |
| 195 | + 'jquery.ui.position', |
| 196 | + 'jquery.ui.draggable', |
| 197 | + 'jquery.ui.resizable', |
| 198 | + 'jquery.ui.button', |
192 | 199 | 'jquery.ui.dialog', |
193 | 200 | ), |
194 | 201 | 'localBasePath' => dirname( __FILE__ ), |
— | — | @@ -197,10 +204,6 @@ |
198 | 205 | |
199 | 206 | $wgResourceModules[ 'pfp.form.rapidhtml.lightbox.css' ] = array( |
200 | 207 | 'styles' => array( |
201 | | - 'forms/rapidhtml/css/jquery.ui.core.css', |
202 | | - 'forms/rapidhtml/css/jquery.ui.theme.css', |
203 | | - 'forms/rapidhtml/css/jquery.ui.dialog.css', |
204 | | - 'forms/rapidhtml/css/jquery.ui.button.css', |
205 | 208 | 'forms/rapidhtml/css/lightbox1.css', |
206 | 209 | ), |
207 | 210 | 'localBasePath' => dirname( __FILE__ ), |