diff options
author | Stephen Beaver <sbeaver@netgate.com> | 2015-12-14 11:41:21 -0500 |
---|---|---|
committer | Stephen Beaver <sbeaver@netgate.com> | 2015-12-14 11:41:21 -0500 |
commit | 279ea790549541aa13816572626bdf58fb7da48a (patch) | |
tree | 64ed9f48f1a3894952560476f26e1d0d6b1e4092 /src/usr/local/www | |
parent | 53eac591b6e0c6fa6b856cabc8a147834cc1683a (diff) | |
parent | a4b5b782e33a53b0dc14ad1ac9eee51160e912eb (diff) | |
download | pfsense-279ea790549541aa13816572626bdf58fb7da48a.zip pfsense-279ea790549541aa13816572626bdf58fb7da48a.tar.gz |
Merge pull request #2217 from NOYB/HTML_Compliance_-_Collapsible_Form_Section_HREF
Diffstat (limited to 'src/usr/local/www')
-rw-r--r-- | src/usr/local/www/classes/Form/Section.class.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr/local/www/classes/Form/Section.class.php b/src/usr/local/www/classes/Form/Section.class.php index ac1587d..eff386a 100644 --- a/src/usr/local/www/classes/Form/Section.class.php +++ b/src/usr/local/www/classes/Form/Section.class.php @@ -81,11 +81,11 @@ class Form_Section extends Form_Element if ($this->_collapsible & COLLAPSIBLE) { $hdricon = '<span class="widget-heading-icon">' . - '<a data-toggle="collapse" href="#' . $this->_attributes['id'] . ' .panel-body">' . + '<a data-toggle="collapse" href="#' . $this->_attributes['id'] . '_panel-body">' . '<i class="fa fa-plus-circle"></i>' . '</a>' . '</span>'; - $bodyclass = '<div class="panel-body collapse '; + $bodyclass = '<div id="' . $this->_attributes['id'] . '_panel-body" class="panel-body collapse '; if (($this->_collapsible & SEC_CLOSED)) { $bodyclass .= 'out">'; } else { |