Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mahara
mahara
Commits
2ae923c0
Commit
2ae923c0
authored
Dec 06, 2011
by
Richard Mansfield
Committed by
Gerrit Code Review
Dec 06, 2011
Browse files
Merge "Add a parameter to open collapsed fieldsets"
parents
827fed1c
2058bda1
Changes
1
Hide whitespace changes
Inline
Side-by-side
htdocs/lib/pieforms/pieform/elements/fieldset.php
View file @
2ae923c0
...
...
@@ -59,7 +59,7 @@ function pieform_element_fieldset(Pieform $form, $element) {/*{{{*/
break
;
}
}
if
(
!
empty
(
$element
[
'collapsed'
])
&&
!
$error
)
{
if
(
!
empty
(
$element
[
'collapsed'
])
&&
!
$error
&&
param_alphanumext
(
'fs'
,
null
)
!=
$element
[
'name'
]
)
{
$classes
[]
=
'collapsed'
;
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment