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

Prompt for new playlist name

This commit is contained in:
Afterster 2015-12-27 14:20:59 +01:00
parent 961c9c6a6b
commit 435500ee66
3 changed files with 13 additions and 2 deletions

View file

@ -87,6 +87,14 @@ function handlePlaylistAction(url, id) {
$("#playlistdialog").dialog("close");
}
function createNewPlaylist(title, url, id) {
var plname = window.prompt(title, '');
if (plname != null) {
url += '&name=' + plname;
handlePlaylistAction(url, id);
}
}
/************************************************************/
/* Dialog selection to start a broadcast */
/************************************************************/