Administration: Restore missing spinner when installing a new language.

Fixes #40478.

Built from https://develop.svn.wordpress.org/trunk@40579


git-svn-id: http://core.svn.wordpress.org/trunk@40449 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrea Fercia 2017-05-07 12:01:42 +00:00
parent fe96a729a0
commit 98402b7c15
3 changed files with 3 additions and 3 deletions

View File

@ -1050,7 +1050,7 @@ jQuery(document).ready( function($) {
// Don't show a spinner for English and installed languages, // Don't show a spinner for English and installed languages,
// as there is nothing to download. // as there is nothing to download.
if ( ! languageSelect.find( 'option:selected' ).data( 'installed' ) ) { if ( ! languageSelect.find( 'option:selected' ).data( 'installed' ) ) {
$( '#submit', this ).after( '<span class="spinner language-install-spinner" />' ); $( '#submit', this ).after( '<span class="spinner language-install-spinner is-active" />' );
} }
}); });
}); });

View File

@ -78,7 +78,7 @@ function options_general_add_js() {
// Don't show a spinner for English and installed languages, // Don't show a spinner for English and installed languages,
// as there is nothing to download. // as there is nothing to download.
if ( ! languageSelect.find( 'option:selected' ).data( 'installed' ) ) { if ( ! languageSelect.find( 'option:selected' ).data( 'installed' ) ) {
$( '#submit', this ).after( '<span class="spinner language-install-spinner" />' ); $( '#submit', this ).after( '<span class="spinner language-install-spinner is-active" />' );
} }
}); });
}); });

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '4.8-alpha-40578'; $wp_version = '4.8-alpha-40579';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.