Merge "Re-apply fix to show textarea when JS is disabled"

This commit is contained in:
jenkins-bot 2018-05-02 23:59:56 +00:00 committed by Gerrit Code Review
commit b70b53216f

View file

@ -108,9 +108,7 @@ abstract class AbuseFilterView extends ContextSource {
$rulesContainer = Xml::element( 'div', $editorAttrib, $rules );
// Dummy textarea for submitting form and to use in case JS is disabled
$textareaAttribs = [
'style' => 'display: none'
];
$textareaAttribs = [];
if ( $externalForm ) {
$textareaAttribs['form'] = 'wpFilterForm';
}