diff --git a/wagtail/documents/templates/wagtaildocs/documents/index.html b/wagtail/documents/templates/wagtaildocs/documents/index.html index 7d911ee549..930c84f570 100644 --- a/wagtail/documents/templates/wagtaildocs/documents/index.html +++ b/wagtail/documents/templates/wagtaildocs/documents/index.html @@ -12,7 +12,7 @@ $(function() { $('#collection_chooser_collection_id').on('change', function() { - this.form.trigger('submit'); + this.form.submit(); }) }); diff --git a/wagtail/images/templates/wagtailimages/images/index.html b/wagtail/images/templates/wagtailimages/images/index.html index 369fdfec14..be13692fff 100644 --- a/wagtail/images/templates/wagtailimages/images/index.html +++ b/wagtail/images/templates/wagtailimages/images/index.html @@ -14,7 +14,7 @@ $(function() { $('#collection_chooser_collection_id').on('change', function() { - this.form.trigger('submit'); + this.form.submit(); }) });