mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-09-24 02:38:16 +00:00
Re-apply fix to show textarea when JS is disabled
After Id4dc1debf0240d5b336f4d9ab5b363c240f08807, the method has been moved, and in doing that I forgot to change this line. Change-Id: I20caf06f2c568605bd6a90c9cf2b425cd51512e7
This commit is contained in:
parent
45d1d71def
commit
f9be4226b8
|
@ -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