TODO-7 removing book(s) from loan works, and UI is better now
This commit is contained in:
1
README
1
README
@@ -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?
|
- 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-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-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-8: show books on shelf list
|
||||||
TODO-9: show books to buy view / printable
|
TODO-9: show books to buy view / printable
|
||||||
TODO-11: show unrated books (with toggle to exclude those with missing in a series)
|
TODO-11: show unrated books (with toggle to exclude those with missing in a series)
|
||||||
|
|||||||
@@ -8,9 +8,9 @@
|
|||||||
function RemoveSelFromLoan()
|
function RemoveSelFromLoan()
|
||||||
{
|
{
|
||||||
var params=$("#book_table :input").serializeArray()
|
var params=$("#book_table :input").serializeArray()
|
||||||
$('#dbox').modal('hide')
|
$.post( "/rem_books_from_loan/" + {{loan_id}}, params, function(data) {
|
||||||
$.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') } )
|
$('#bfl-existing').load('/books_for_loan/' + {{loan_id}}, { 'InDBox' : 1 } )
|
||||||
window.location = "/loan/" + {{loan_id}}
|
} )
|
||||||
}
|
}
|
||||||
|
|
||||||
function ShowDBox()
|
function ShowDBox()
|
||||||
|
|||||||
Reference in New Issue
Block a user