Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(541)

Unified Diff: ui/file_manager/audio_player/js/audio_player.js

Issue 1581573004: Audio Player: Notify track metadata update to track-list element explicitly. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add a check for index range. Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/file_manager/audio_player/elements/audio_player.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/file_manager/audio_player/js/audio_player.js
diff --git a/ui/file_manager/audio_player/js/audio_player.js b/ui/file_manager/audio_player/js/audio_player.js
index 207ff9a65f3cf7f6c2090bd11ecc4fce19c2b34c..47874987bfc72d41618a297cceb13df3c06a189d 100644
--- a/ui/file_manager/audio_player/js/audio_player.js
+++ b/ui/file_manager/audio_player/js/audio_player.js
@@ -208,6 +208,7 @@ AudioPlayer.prototype.loadMetadata_ = function(track) {
*/
AudioPlayer.prototype.displayMetadata_ = function(track, metadata, opt_error) {
this.player_.tracks[track].setMetadata(metadata, opt_error);
+ this.player_.notifyTrackMetadataUpdated(track);
};
/**
« no previous file with comments | « ui/file_manager/audio_player/elements/audio_player.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698