TODO-7 removing book(s) from loan works, and UI is better now

This commit is contained in:
2021-01-04 22:07:06 +11:00
parent 17c0c2a024
commit 6ff3d13713
2 changed files with 3 additions and 4 deletions

1
README
View File

@@ -38,7 +38,6 @@ TODO-4: removing a subbook from a series
- popup with: this is a subbook, you want to remove the parent & all its sub books from the series?
TODO-5: should deleting really just ask if want to mark it as SOLD?
TODO-6: need to add books to loan (on loan page, and via a book search?)
TODO-7: need to delete book from loan
TODO-8: show books on shelf list
TODO-9: show books to buy view / printable
TODO-11: show unrated books (with toggle to exclude those with missing in a series)

View File

@@ -8,9 +8,9 @@
function RemoveSelFromLoan()
{
var params=$("#book_table :input").serializeArray()
$('#dbox').modal('hide')
$.post( "/rem_books_from_loan/" + {{loan_id}}, params, function(data) { $('#bfl-existing').html('U SHOULD NEVER SEE THIS: calling the rem_books_from_loan page') } )
window.location = "/loan/" + {{loan_id}}
$.post( "/rem_books_from_loan/" + {{loan_id}}, params, function(data) {
$('#bfl-existing').load('/books_for_loan/' + {{loan_id}}, { 'InDBox' : 1 } )
} )
}
function ShowDBox()