mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
BUGFIX Fix checkFieldsForAction() when working with tabs
This commit is contained in:
parent
df716eff45
commit
a76c9c3c5e
@ -379,10 +379,9 @@ class Form extends RequestHandler {
|
||||
if($field = $this->checkFieldsForAction($field->FieldList(), $funcName)) {
|
||||
return $field;
|
||||
}
|
||||
} elseif (!$field->hasMethod($funcName)) {
|
||||
continue;
|
||||
} elseif ($field->hasMethod($funcName)) {
|
||||
return $field;
|
||||
}
|
||||
return $field;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user