Two girls that really don't give a duck - MXR Plays by secularhuman010 - 3speak.tv (2024)

2132

and must have the class 'one-playlist', playlist-form-check and one-label respectively, that is very important*/ } } function renderPlaylistRow(item) { return(`

`) } axios({ method: 'get', url: 'api/playlists/ls', }) .then(function (response) { const {out} = response.data for(let item of out) { $('#playlist-container').append(renderPlaylistRow(item)) } }); function addToPlaylist () { document.getElementById('addNewPlaylist').innerHTML = `

Loading...

` let playlistsToAdd = [] // array of playlists to add the video const checkBoxChecked = document.getElementsByClassName('one-playlist'); // every displayed playlist must have the class 'one-playlist' for (var i = 0; i < checkBoxChecked.length; i++) { if (checkBoxChecked.item(i).checked) { const playlistId = checkBoxChecked.item(i).getAttribute('data-permlink'); const playlistName = checkBoxChecked.item(i).getAttribute('value'); const owner = document.getElementById('addToPlaylistModal').getAttribute('data-author') const permlink = document.getElementById('addToPlaylistModal').getAttribute('data-permlink') playlistsToAdd.push({ playlistId: playlistId, owner: owner, permlink: permlink }) } } console.log(playlistsToAdd) // send this array and other necessary data to the backend for(let item of playlistsToAdd) { console.log(item) axios({ method: 'post', url: 'api/playlists/add', data: { id: item.playlistId, permlink: item.permlink, owner: item.owner } }) } document.getElementById('addNewPlaylist').innerHTML = `Add To Playlist(s) ` toastr.success('Added successfully!') } function createPlaylistInit() { document.getElementById('sendNewPlaylist').style.display = 'inline-block' document.getElementById('createPlaylistArea').style.display = 'block' document.getElementById('closeCreateNewPlaylist').style.display = 'inline-block' document.getElementById('createNewPlaylist').style.display = 'none' document.getElementById('addNewPlaylist').style.display = 'none' } function closeCreateNewPlaylist() { document.getElementById('sendNewPlaylist').style.display = 'none' document.getElementById('createPlaylistArea').style.display = 'none' document.getElementById('closeCreateNewPlaylist').style.display = 'none' document.getElementById('createNewPlaylist').style.display = 'inline-block' document.getElementById('addNewPlaylist').style.display = 'inline-block' } function sendNewPlaylist() { const playlistName = document.getElementById('new-playlist-name').value console.log(playlistName) // SEND THIS TO BACKEND TO STORE NEW PLAYLIST document.getElementById('sendNewPlaylist').innerHTML = `

Loading...

` axios({ method: 'post', url: 'api/playlists/create', data: { title: playlistName } }).then(function (response) { const data = response.data; console.log(data) $('#playlist-container').append(renderPlaylistRow(data)) document.getElementById('new-playlist-name').value = '' document.getElementById('sendNewPlaylist').innerHTML = `Create ` toastr.success('Created successfully!') }) } async function deletePlaylist(permlink, title) { const deleteOp = await axios.post('/api/playlists/delete', {permlink, title}) if (deleteOp.data.status === 'ok') { $('#playlist-container').html('') axios({ method: 'get', url: 'api/playlists/ls', }) .then(function (response) { const {out} = response.data for(let item of out) { $('#playlist-container').append(renderPlaylistRow(item)) } }); } if (deleteOp.data.status === 'false') { toastr.success('You can only delete your own playlists') } }

Report

Two girls that really don't give a duck - MXR Plays by secularhuman010 - 3speak.tv (2024)
Top Articles
Bars Near Dos Equis Pavilion
Joy Reid's Net Worth
Pau.blaz
Administrative Supplement Program to Add Fluid-based Biomarkers and APOE Genotyping to NINDS ADRD Human Subjects Research Grants
Villarica Pawnshop Forex Rate
Her Triplet Alphas Chapter 32
Craigslist Free En Dallas Tx
Sphynx Cats For Adoption In Ohio
Email Hosting » Affordable Mail Solution with Personal Domain | IONOS
'A Cure for Wellness', Explained
organization | QAssurance
Schüleraustausch Neuseeland - Schulabschluss mit Study Nelson
Cooktopcove Com
Ingersoll Greenwood Funeral Home Obituaries
Food Stamp System Down
Vector Driver Setup
A Flame Extinguished Wow Bugged
Texas Motors Specialty Photos
Brise Stocktwits
Identogo Roanoke Va
Accuweather Mold Count
Oxycontin Plush Real
Dollar Tree Hours Saturday
Emmi Sellers Cheerleader
Neos Urgent Care Springfield Ma
Palindromic Sony Console For Short Crossword Clue 6 Letters: Composer Of
Craigslist Chester Sc
Freeway Insurance Actress
100000 Divided By 3
Kltv Com Big Red Box
South Carolina Title Transfer Does Sc Require Notary Seal For Auto Title Transfer
Preventice Learnworlds
Ralph Macchio Conservative
Franco Loja Net Worth
5Gomovies
2010 Ford F-350 Super Duty XLT for sale - Wadena, MN - craigslist
Middletown Pa Craigslist
O'reilly's In Mathis Texas
Feetfinder Reviews Trustpilot
Plusword 358
Craigslist Lasalle County Il
Carter Williamson Jay Ok
Brokaw 24 Hour Fitness
Busted Newspaper Zapata Tx
Footfetish Telegram
Before Trump, neo-Nazis pushed false claims about Haitians as part of hate campaign
Kohl's Hixson Tennessee
How To Spend a Day in Port Angeles (15 Things to Do!)
Stpeach Telegram
Sutter Health Candidate Login
Watch It Horror Thriller movies | Crystal panel
Sdn Michigan State Osteopathic 2023
Latest Posts
Article information

Author: Rubie Ullrich

Last Updated:

Views: 6100

Rating: 4.1 / 5 (52 voted)

Reviews: 91% of readers found this page helpful

Author information

Name: Rubie Ullrich

Birthday: 1998-02-02

Address: 743 Stoltenberg Center, Genovevaville, NJ 59925-3119

Phone: +2202978377583

Job: Administration Engineer

Hobby: Surfing, Sailing, Listening to music, Web surfing, Kitesurfing, Geocaching, Backpacking

Introduction: My name is Rubie Ullrich, I am a enthusiastic, perfect, tender, vivacious, talented, famous, delightful person who loves writing and wants to share my knowledge and understanding with you.