mirror of
https://github.com/Yetangitu/ampache
synced 2025-10-06 03:49:56 +02:00
Fix hard-coded values before Kaivo work merge
This commit is contained in:
parent
9610a1e6c4
commit
3a539f7ceb
6 changed files with 17 additions and 17 deletions
|
@ -118,7 +118,7 @@ function ShowEqualizer()
|
|||
|
||||
function SavePlaylist()
|
||||
{
|
||||
var url = "http://ampache.test/server/ajax.server.php?page=playlist&action=append_item&item_type=song&item_id=";
|
||||
var url = "<?php echo AmpConfig::get('ajax_url'); ?>?page=playlist&action=append_item&item_type=song&item_id=";
|
||||
for (var i = 0; i < jplaylist['playlist'].length; i++) {
|
||||
url += "," + jplaylist['playlist'][i]["song_id"];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue