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({ .bindEvent({
open: function() { open: function() {
pandora.$player.options({paused: true}); 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, playing: checkRange,
position: checkRange, position: checkRange,