Index: wp-admin/theme-install.php
===================================================================
--- wp-admin/theme-install.php	(revision 19910)
+++ wp-admin/theme-install.php	(working copy)
@@ -33,8 +33,10 @@
 
 add_thickbox();
 wp_enqueue_script( 'theme-preview' );
-wp_enqueue_script( 'theme' );
 
+if ( 'search' == $tab )
+	wp_enqueue_script( 'theme' );
+
 $body_id = $tab;
 
 do_action('install_themes_pre_' . $tab); //Used to override the general interface, Eg, install or theme information.
