Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #421 from helio-correia/translationtabs
Make it work if the admin are divided by tabs
- Loading branch information
c9bb6a5
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This change breaks the normal working of TranslationStackedInline fields by already selecting and creating tabgroups on optional inline models that are not visible yet.
The normal flow of adding a inline model afterwards gets messed up (jQuery selects wrong entrypoint I guess) and extra freefloating translation tabs get added.
These in their turn break the adding of more inline models.
Added an image to clarify what I mean
Restoring this line to select only visible input/textarea/select restore functionality.