1
0
mirror of https://github.com/janeczku/calibre-web synced 2025-10-29 22:33:01 +00:00

Migrated some routes to POST

- shelf massadd
- resetpassword
- delete shelf
- send to kindle
This commit is contained in:
Ozzieisaacs
2021-12-25 21:39:58 +01:00
parent 573c9f9fb4
commit f39dc100b4
6 changed files with 41 additions and 11 deletions

View File

@@ -62,7 +62,7 @@ $("#archived_cb").on("change", function() {
$("#shelf-actions").on("click", "[data-shelf-action]", function (e) {
e.preventDefault();
$.get(this.href)
$.post(this.href)
.done(function() {
var $this = $(this);
switch ($this.data("shelf-action")) {