aboutsummaryrefslogtreecommitdiff
path: root/scripts/forms.php
diff options
context:
space:
mode:
authorpetko <petko@524c5546-5005-0410-9a3e-e25e191bd360>2022-10-09 10:13:43 +0000
committerpetko <petko@524c5546-5005-0410-9a3e-e25e191bd360>2022-10-09 10:13:43 +0000
commitca86353e63e397fc10f63c6c56a6886d8aea7d02 (patch)
tree9375c0bdef37e1a77c6c88878e4310431abf6592 /scripts/forms.php
parent792eedb7dbc52fe7b19aa837ca57ac727f38ef06 (diff)
downloadpmwiki.svn-ca86353e63e397fc10f63c6c56a6886d8aea7d02.tar.bz2
Replace autoficus JS with attributes.
git-svn-id: svn://pmwiki.org/pmwiki/trunk@4194 524c5546-5005-0410-9a3e-e25e191bd360
Diffstat (limited to 'scripts/forms.php')
-rw-r--r--scripts/forms.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/forms.php b/scripts/forms.php
index 02d39c57..c8f39776 100644
--- a/scripts/forms.php
+++ b/scripts/forms.php
@@ -390,7 +390,7 @@ SDVA($InputTags['e_changesummary'], array(
'placeholder' => PHSC(XL('Summary'), ENT_QUOTES),
'value' => PHSC(stripmagic(@$_POST['csum']), ENT_QUOTES)));
SDVA($InputTags['e_minorcheckbox'], array(
- ':html' => "<input type='checkbox' \$InputFormArgs />",
+ ':html' => "<input type='checkbox' \$InputFormArgs />\$InputFormLabel",
'name' => 'diffclass', 'value' => 'minor'));
if (@$_POST['diffclass']=='minor')
SDV($InputTags['e_minorcheckbox']['checked'], 'checked');