TODO-7 removing book(s) from loan works, and UI is better now
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user