diff --git a/src/wp-admin/js/theme.js b/src/wp-admin/js/theme.js index 15fe7050f7..e91c0d16b7 100644 --- a/src/wp-admin/js/theme.js +++ b/src/wp-admin/js/theme.js @@ -105,7 +105,10 @@ themes.view.Appearance = wp.Backbone.View.extend({ view.render(); this.searchContainer .append( $.parseHTML( '' ) ) - .append( view.el ); + .append( view.el ) + .on( 'submit', function( event ) { + event.preventDefault(); + }); }, // Checks when the user gets close to the bottom