(ev)
| 2447 | } |
| 2448 | |
| 2449 | function onAddToPlaylistListClick(ev) { |
| 2450 | ev.stopPropagation(); |
| 2451 | ev.preventDefault(); |
| 2452 | var clickedLi = getFirstChildToward(addToPlaylistList, ev.target); |
| 2453 | if (!clickedLi) return; |
| 2454 | if (!havePerm('playlist')) return; |
| 2455 | if (!ev.shiftKey) closeOpenDialog(); |
| 2456 | var playlistId = clickedLi.getAttribute('data-key'); |
| 2457 | player.queueOnPlaylist(playlistId, selection.toTrackKeys()); |
| 2458 | } |
| 2459 | |
| 2460 | function onAddToPlaylistNewClick(ev) { |
| 2461 | ev.stopPropagation(); |
nothing calls this directly
no test coverage detected