From 6f920e7c931f9d54d7b6e84df65d86e42a0f63ae Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Mon, 11 Feb 2013 13:04:04 +0000 Subject: [PATCH] open item on page --- static/js/embed/pandora.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/static/js/embed/pandora.js b/static/js/embed/pandora.js index 7034fd2ec..b46792171 100755 --- a/static/js/embed/pandora.js +++ b/static/js/embed/pandora.js @@ -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,