mirror of https://github.com/calzoneman/sync.git
make sure the user understand this is for real
This commit is contained in:
parent
b8d2d74e2f
commit
566c4c174e
|
@ -2514,6 +2514,11 @@ function formatUserPlaylistList() {
|
|||
.attr("title", "Delete playlist")
|
||||
.appendTo(btns)
|
||||
.click(function () {
|
||||
var really = confirm("Are you sure you want to delete" +
|
||||
" this playlist? This cannot be undone.");
|
||||
if (!really) {
|
||||
return;
|
||||
}
|
||||
socket.emit("deletePlaylist", {
|
||||
name: pl.name
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue