Themes: Hide the favorites form when performing a search.

The search is global and ignores the user setting. Same for filters.

See #34206.

git-svn-id: https://develop.svn.wordpress.org/trunk@35647 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Dominik Schilling (ocean90) 2015-11-16 19:49:38 +00:00
parent 32d4eec670
commit aff0065f28

View File

@ -1333,7 +1333,7 @@ themes.view.InstallerSearch = themes.view.Search.extend({
}
$( '.filter-links li > a.current' ).removeClass( 'current' );
$( 'body' ).removeClass( 'show-filters filters-applied' );
$( 'body' ).removeClass( 'show-filters filters-applied show-favorites-form' );
// Get the themes by sending Ajax POST request to api.wordpress.org/themes
// or searching the local cache