mirror of
https://github.com/Hopiu/wagtail-modeltranslation.git
synced 2026-03-16 22:10:30 +00:00
Merge pull request #117 from dwasyl/fix-extra-tabs-children
Remove extraneous .children reference
This commit is contained in:
commit
fe77adfd42
1 changed files with 1 additions and 1 deletions
|
|
@ -55,7 +55,7 @@ class WagtailTranslator(object):
|
|||
if hasattr(model, 'edit_handler'):
|
||||
tabs = model.edit_handler.children
|
||||
|
||||
for tab in tabs.children:
|
||||
for tab in tabs:
|
||||
tab.children = self._patch_panels(tab.children)
|
||||
|
||||
else:
|
||||
|
|
|
|||
Loading…
Reference in a new issue