Merge "Hoist validation errors from hidden fields to the top of the form"
[lhc/web/wiklou.git] / includes / htmlform / HTMLForm.php
index 11eb04d..2779d5a 100644 (file)
@@ -909,6 +909,7 @@ class HTMLForm extends ContextSource {
                # For good measure (it is the default)
                $this->getOutput()->preventClickjacking();
                $this->getOutput()->addModules( 'mediawiki.htmlform' );
+               $this->getOutput()->addModuleStyles( 'mediawiki.htmlform.styles' );
 
                $html = ''
                        . $this->getErrors( $submitResult )