Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix torrent deleted without confirmation #2804

Merged
merged 1 commit into from
Nov 24, 2024
Merged

Conversation

koblack
Copy link
Contributor

@koblack koblack commented Nov 24, 2024

@jevenski this is your commit from pull request #2724
I removed from original commit part renaming ndx -> key and this resolved issues with saving column sorting.
This should go into v5.2 where we will have more time for testing.

  • Fix torrent deleted without confirmation
  • This commit fixes an error that torrent(s) get deleted without confirmation, even if the option is checked in the options. Previously, the delete action worked as expected using the delete button in the top menu, asking for confirmation before taking actual action. However, using the "remove" option in the context menu or the DEL key on the keyboard would got the torrent(s) removed immediately. They were just not calling the correct remove function.
  • Besides the correction of delete events handler, two other things were carried out by the way, although not on the scope of the entire app but just around the functions that were adjusted in this fix.
    1. Some ident related issues were picked out by the way, like mixing spaces with tabs on the same line.
    2. Documentations were added to some of the JS functions, according to my own understanding of the function. They might be incorrect, but can be polished while the project grows.

* Fix torrent deleted without confirmation

- This commit fixes an error that torrent(s) get deleted without
  confirmation, even if the option is checked in the options.
  Previously, the delete action worked as expected using the delete
  button in the top menu, asking for confirmation before taking
  actual action. However, using the "remove" option in the context
  menu or the `DEL` key on the keyboard would got the torrent(s)
  removed immediately. They were just not calling the correct
  remove function.
- Besides the correction of delete events handler, two other things
  were carried out by the way, although not on the scope of the
  entire app but just around the functions that were adjusted in
  this fix.
  1. Some ident related issues were picked out by the way, like
  mixing spaces with tabs on the same line.
  2. Documentations were added to some of the JS functions, according
  to my own understanding of the function. They might be incorrect,
  but can be polished while the project grows.
@jevenski
Copy link
Contributor

That's cool. It's time we start a new development cycle and add more features to it.

@stickz stickz added the v5.2 label Nov 24, 2024
@stickz
Copy link
Collaborator

stickz commented Nov 24, 2024

Please submit change to develop branch where the new v5.2 cycle is started.

@koblack koblack changed the base branch from master to develop November 24, 2024 16:43
@koblack
Copy link
Contributor Author

koblack commented Nov 24, 2024

Please submit change to develop branch where the new v5.2 cycle is started.

done

@stickz stickz merged commit 37ea3dd into Novik:develop Nov 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants