You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm running the following:
Django==3.1
djangorestframework==3.11.1
django-modeltranslation==0.16.1
in all my TranslationTabularInline calls I'm getting this error:
jquery.min.js:2 Uncaught TypeError: container.hasClass is not a function
at HTMLInputElement. (tabbed_translation_fields.js:353)
at Function.each (jquery.min.js:2)
at Object. (tabbed_translation_fields.js:322)
at Function.each (jquery.min.js:2)
at createTabularTabs (tabbed_translation_fields.js:313)
at HTMLDivElement. (tabbed_translation_fields.js:427)
at Function.each (jquery.min.js:2)
at S.fn.init.each (jquery.min.js:2)
at HTMLDocument. (tabbed_translation_fields.js:422)
at e (jquery.min.js:2)
I have tried changing the class Meta values to what is in the document, but nothing seems to make the tabs show up in the Inlines. Any help will be greatly appreciated. My admin forms are broken and I can't save any data on those forms.
The text was updated successfully, but these errors were encountered:
Hmmm, this is already fixed in master, but somehow released version contains tabbed_translation_fields instead of tabbed_translation_fields.js, so your site is using old version.
I'm running the following:
Django==3.1
djangorestframework==3.11.1
django-modeltranslation==0.16.1
in all my TranslationTabularInline calls I'm getting this error:
jquery.min.js:2 Uncaught TypeError: container.hasClass is not a function
at HTMLInputElement. (tabbed_translation_fields.js:353)
at Function.each (jquery.min.js:2)
at Object. (tabbed_translation_fields.js:322)
at Function.each (jquery.min.js:2)
at createTabularTabs (tabbed_translation_fields.js:313)
at HTMLDivElement. (tabbed_translation_fields.js:427)
at Function.each (jquery.min.js:2)
at S.fn.init.each (jquery.min.js:2)
at HTMLDocument. (tabbed_translation_fields.js:422)
at e (jquery.min.js:2)
I have tried changing the
class Meta
values to what is in the document, but nothing seems to make the tabs show up in the Inlines. Any help will be greatly appreciated. My admin forms are broken and I can't save any data on those forms.The text was updated successfully, but these errors were encountered: