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:
parent
961c9c6a6b
commit
435500ee66
3 changed files with 13 additions and 2 deletions
|
@ -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 */
|
||||
/************************************************************/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue