diff --git a/templates/books_for_loan.html b/templates/books_for_loan.html index ea2ac78..6290a6c 100644 --- a/templates/books_for_loan.html +++ b/templates/books_for_loan.html @@ -46,6 +46,9 @@ ` $('#dbox-content').html(div) + $('#bfl-search-term').keypress(function (e) { + if (e.which == 13) { FindNewBFL() } + } ) $('#dbox').modal('show') $.post( "/books_for_loan/" + {{loan_id}}, function(data) {$('#bfl-existing').html(data) } ); }