Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $('#files_list').children().each(function () {
- const file = $(this).data('file-id');
- TS.api.call(
- 'files.delete',
- { file },
- () => console.log('Deleted', file)
- );
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement