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,12 +379,11 @@ class Form extends RequestHandler {
|
|||||||
if($field = $this->checkFieldsForAction($field->FieldList(), $funcName)) {
|
if($field = $this->checkFieldsForAction($field->FieldList(), $funcName)) {
|
||||||
return $field;
|
return $field;
|
||||||
}
|
}
|
||||||
} elseif (!$field->hasMethod($funcName)) {
|
} elseif ($field->hasMethod($funcName)) {
|
||||||
continue;
|
|
||||||
}
|
|
||||||
return $field;
|
return $field;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Handle a field request.
|
* Handle a field request.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user