mirror of
https://github.com/Hopiu/django-modeltranslation.git
synced 2026-04-12 17:30:58 +00:00
Modify javascript to also consider the iframes.
This commit is contained in:
parent
1b7242906a
commit
fd5a8cb6da
1 changed files with 1 additions and 1 deletions
|
|
@ -391,7 +391,7 @@ var google, django, gettext;
|
|||
// Group normal fields and fields in (existing) stacked inlines
|
||||
var grouper = new TranslationFieldGrouper({
|
||||
$fields: $('.mt').filter(
|
||||
'input:visible, textarea:visible, select:visible').filter(':parents(.tabular)')
|
||||
'input:visible, textarea:visible, select:visible, iframe').filter(':parents(.tabular)')
|
||||
});
|
||||
MainSwitch.init(grouper.groupedTranslations, createTabs(grouper.groupedTranslations));
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue