In `WPPlaylistView::ended()`, at the end of a playlist, set the index to `0` and call `->setCurrent()` instead of `->loadCurrent()` so that the first track is properly highlighted.

Fixes #28428.

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


git-svn-id: http://core.svn.wordpress.org/trunk@28467 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Scott Taylor 2014-06-02 00:27:18 +00:00
parent fd99912f65
commit 4fd5ffe994
2 changed files with 2 additions and 3 deletions

View File

@ -145,8 +145,7 @@
this.next();
} else {
this.index = 0;
this.current = this.tracks.at( this.index );
this.loadCurrent();
this.setCurrent();
}
},

View File

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