use document dialog

This commit is contained in:
j 2017-04-15 19:47:41 +02:00
parent a98831bb26
commit 8ec0f2f9b9

View file

@ -147,7 +147,7 @@
function openDocument(id) { function openDocument(id) {
//if there is a player, pause it //if there is a player, pause it
pandora.$ui.player && pandora.$ui.player.options('paused', true); pandora.$ui.player && pandora.$ui.player.options('paused', true);
pandora.URL.push('/documents/' + id); pandora.URL.push('/document/' + id);
} }
function closeDocument() { function closeDocument() {