1
0
Fork 0
mirror of https://github.com/Yetangitu/ampache synced 2025-10-03 09:49:30 +02:00

Fix add to playlist

This commit is contained in:
SUTJael 2014-01-30 11:21:47 +01:00
parent a38a78f8db
commit 783f8beefb
2 changed files with 6 additions and 6 deletions

View file

@ -24,7 +24,7 @@
var closeplaylist;
function showPlaylistDialog(e, item_type, item_id) {
closePlaylistDialog();
$("#playlistdialog").dialog("close");
var parent = this;
parent.itemType = item_type;
@ -64,14 +64,14 @@ function showPlaylistDialog(e, item_type, item_id) {
function overlayclickclose() {
if (closeplaylist) {
$('#playlistdialog').dialog('close');
$("#playlistdialog").dialog("close");
}
closeplaylist = 1;
}
function closePlaylistDialog() {
function handlePlaylistAction(url, id) {
ajaxPut(url, id);
$("#playlistdialog").dialog("close");
return false;
}
/***************************************************/