mirror of
https://github.com/Yetangitu/ampache
synced 2025-10-05 10:49:37 +02:00
Open external share in new window
Enable share option in community installation
This commit is contained in:
parent
a7377e562e
commit
b2f03a2ab6
2 changed files with 4 additions and 2 deletions
|
@ -428,7 +428,8 @@ function install_config_use_case($case)
|
||||||
'channel' => 'true',
|
'channel' => 'true',
|
||||||
'live_stream' => 'true',
|
'live_stream' => 'true',
|
||||||
'allow_public_registration' => 'false',
|
'allow_public_registration' => 'false',
|
||||||
'cookie_disclaimer' => 'false'
|
'cookie_disclaimer' => 'false',
|
||||||
|
'share' => 'false'
|
||||||
);
|
);
|
||||||
|
|
||||||
$dbconfig = array(
|
$dbconfig = array(
|
||||||
|
@ -462,6 +463,7 @@ function install_config_use_case($case)
|
||||||
$trconfig['live_stream'] = 'false';
|
$trconfig['live_stream'] = 'false';
|
||||||
$trconfig['allow_public_registration'] = 'true';
|
$trconfig['allow_public_registration'] = 'true';
|
||||||
$trconfig['cookie_disclaimer'] = 'true';
|
$trconfig['cookie_disclaimer'] = 'true';
|
||||||
|
$trconfig['share'] = 'true';
|
||||||
|
|
||||||
$dbconfig['download'] = '0';
|
$dbconfig['download'] = '0';
|
||||||
$dbconfig['share'] = '1';
|
$dbconfig['share'] = '1';
|
||||||
|
|
|
@ -188,7 +188,7 @@ function shoverlayclickclose(e) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function handleShareAction(url) {
|
function handleShareAction(url) {
|
||||||
NavigateTo(url);
|
window.open(url);
|
||||||
$("#sharedialog").dialog("close");
|
$("#sharedialog").dialog("close");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue