diff --git a/capsule-prototype/js/online-script.js b/capsule-prototype/js/online-script.js index 568dcb02c05d03fb045696373f0f5ba7a1c35eb2..34f3d2bdad3de974802694b02184d90b8328f83f 100644 --- a/capsule-prototype/js/online-script.js +++ b/capsule-prototype/js/online-script.js @@ -300,7 +300,7 @@ function setEditionControls() { $("#left_menu_item_preview").click(function(event){ event.stopPropagation(); - window.open("?w=1", '_blank'); + window.open(window.app.urls.memberHome + 'capsule/preview/' + window.location.pathname.replace('/legacy/', '').slice(0, -1), '_blank'); /*window.open("?w=1", "Preview Rekall", "menubar=no, status=no, scrollbars=no, menubar=no, width=1150, height=560"); */ });