mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
push the hiddenfield ctf[ID] which is deleted by merging but it seems that we need it in any cases.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@45677 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
4fcb294634
commit
6544778094
@ -206,6 +206,7 @@ class MemberTableField extends ComplexTableField {
|
||||
|
||||
// the ID field confuses the Controller-logic in finding the right view for ReferencedField
|
||||
$detailFields->removeByName('ID');
|
||||
$detailFields->push(new HiddenField("ctf[ID]"," ",$ID));
|
||||
|
||||
// add a namespaced ID instead thats "converted" by saveComplexTableField()
|
||||
$detailFields->push(new HiddenField("ctf[childID]","",$childID));
|
||||
|
Loading…
Reference in New Issue
Block a user