mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-09-24 02:38:16 +00:00
Merge "Re-apply fix to show textarea when JS is disabled"
This commit is contained in:
commit
b70b53216f
|
@ -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';
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue