diff -r 2103e6c58266 -r 5c9250f55f4b cms/app-client/app/components/playlist-component.js --- a/cms/app-client/app/components/playlist-component.js Mon Jul 04 23:54:48 2016 +0200 +++ b/cms/app-client/app/components/playlist-component.js Tue Jul 05 01:30:27 2016 +0200 @@ -56,6 +56,23 @@ setItem: function(id) { this.get('player').trigger('reset', id); + }, + + displayNotice: function(id) { + if(this.get('player').get('item') === id) { + if(this.get('player').get('window') !== 'notice') { + this.get('player').set('window', 'notice'); + } else { + this.get('player').set('window', ''); + } + } else { + if(this.get('notice') !== id) { + this.set('notice', id); + } else { + this.set('notice', null); + } + } + } }