open item on page

This commit is contained in:
j 2013-02-11 13:04:04 +00:00
parent fac583b968
commit 6f920e7c93

View file

@ -56,6 +56,11 @@ Ox.load('UI', {
.bindEvent({
open: function() {
pandora.$player.options({paused: true});
var url = document.location.protocol
+ '//' + document.location.hostname
+ '/' + options.item + '/'
+ Ox.formatDuration(pandora.$player.options('position'));
window.open(url, '_blank');
},
playing: checkRange,
position: checkRange,