add share link at /m/, add share dialog in view menu, fix preview for documents

This commit is contained in:
j 2023-07-15 12:04:04 +05:30
commit bea0d301a4
30 changed files with 2704 additions and 4 deletions

View file

@ -609,6 +609,8 @@ pandora.ui.mainMenu = function() {
pandora.$ui.player.options({fullscreen: true});
} else if (data.id == 'embed') {
pandora.$ui.embedDialog = pandora.ui.embedDialog().open();
} else if (data.id == 'share') {
pandora.$ui.shareDialog = pandora.ui.shareDialog().open();
} else if (data.id == 'advancedfind') {
pandora.$ui.filterDialog = pandora.ui.filterDialog().open();
} else if (data.id == 'clearquery') {
@ -1909,7 +1911,8 @@ pandora.ui.mainMenu = function() {
}) }
] },
{},
{ id: 'embed', title: Ox._('Embed...') }
{ id: 'embed', title: Ox._('Embed...') },
{ id: 'share', title: Ox._('Share...') }
]}
}