Theme Customizer: Make theme installer no-js compatible. Fix JS click handler that caught clicks on the 'Activate' link. Relocate display_theme() to WP_Theme_Install_List_Table->single_row(). see #19910.

git-svn-id: https://develop.svn.wordpress.org/trunk@20140 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Daryl Koopersmith
2012-03-07 18:24:34 +00:00
parent eb50f7efa4
commit 7464fa9565
4 changed files with 140 additions and 158 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ jQuery( function($) {
event.preventDefault();
});
$('#availablethemes').on( 'click', '.available-theme', function( event ) {
$('#availablethemes').on( 'click', '.installable-theme', function( event ) {
var src;
info.html( $(this).find('.install-theme-info').html() );