Merge branch 'master' of github.com:deschler/django-modeltranslation

This commit is contained in:
Sergey Tereschenko 2019-02-12 21:57:53 +02:00
commit f90137abe5

View file

@ -402,7 +402,7 @@ var google, django, gettext;
// Note: The add another functionality in admin is injected through inline javascript,
// here we have to run after that (and after all other ready events just to be sure).
$(document).ready(function() {
$(window).load(function() {
$(window).on('load', function() {
handleAddAnotherInline();
});
});
@ -416,7 +416,7 @@ var google, django, gettext;
createTabularTabs(tabularInlineGroup.getAllGroupedTranslations()));
$(document).ready(function() {
$(window).load(function() {
$(window).on('load', function() {
handleTabularAddAnotherInline(tabularInlineGroup);
});
});