Index: trunk/phase3/includes/HTMLForm.php |
— | — | @@ -73,9 +73,9 @@ |
74 | 74 | static function addJS() { |
75 | 75 | if( self::$jsAdded ) return; |
76 | 76 | |
77 | | - global $wgOut, $wgStylePath; |
| 77 | + global $wgOut; |
78 | 78 | |
79 | | - $wgOut->addScriptFile( "$wgStylePath/common/htmlform.js" ); |
| 79 | + $wgOut->addScriptClass( 'htmlform' ); |
80 | 80 | } |
81 | 81 | |
82 | 82 | static function loadInputFromParameters( $descriptor ) { |
Index: trunk/phase3/includes/AutoLoader.php |
— | — | @@ -599,6 +599,7 @@ |
600 | 600 | 'edit' => 'skins/common/edit.js', |
601 | 601 | 'enhancedchanges.js' => 'skins/common/enhancedchanges.js', |
602 | 602 | 'history' => 'skins/common/history.js', |
| 603 | + 'htmlform' => 'skins/common/htmlform.js', |
603 | 604 | 'IEFixes' => 'skins/common/IEFixes.js', |
604 | 605 | 'metadata' => 'skins/common/metadata.js', |
605 | 606 | 'mwsuggest' => 'skins/common/mwsuggest.js', |