mirror of
https://github.com/silverstripe/silverstripe-userforms.git
synced 2024-10-22 17:05:42 +02:00
MINOR: removed undefined method call
This commit is contained in:
parent
71d0d4223d
commit
9520b8693e
@ -319,7 +319,7 @@ class UserDefinedForm_Controller extends Page_Controller {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Is this Field Show by Default
|
// Is this Field Show by Default
|
||||||
if(!$field->ShowOnLoad()) {
|
if(!$field->ShowOnLoad) {
|
||||||
$defaults .= "$(\"#" . $fieldId . "\").hide();\n";
|
$defaults .= "$(\"#" . $fieldId . "\").hide();\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user