feat(downloading): choose dir on new download
This commit is contained in:
@ -800,10 +800,10 @@ module.exports = async ({
|
||||
}
|
||||
torrent.updateFilesSelection()
|
||||
}
|
||||
|
||||
|
||||
torrent.updateFilesSelection = () => {
|
||||
torrent.deselect(0, torrent.pieces.length - 1, false)
|
||||
|
||||
|
||||
for(const file of torrent.files)
|
||||
{
|
||||
const {selected} = file
|
||||
|
@ -54,7 +54,7 @@ const expand = (sphinx) => {
|
||||
valuesData += sphinx.escape(JSON.stringify(values[val])) + ',';
|
||||
else
|
||||
valuesData += sphinx.escape(values[val]) + ',';
|
||||
|
||||
|
||||
names += '`' + val + '`,';
|
||||
}
|
||||
names = names.slice(0, -1)
|
||||
|
Reference in New Issue
Block a user