1
0
Fork 0
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:
Afterster 2014-06-01 10:08:27 +02:00
parent 9610a1e6c4
commit 3a539f7ceb
6 changed files with 17 additions and 17 deletions

View file

@ -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"];
}