fixed BUG-48 - sub book add/rem -- it was because QuickParentBook used an array and the code had been half converted to just use an object. Fixed to all be an object/dict now and its working again
This commit is contained in:
@@ -426,7 +426,7 @@ function AddAuthorToBook(num) {
|
||||
{% else %}
|
||||
<div class="form-row">
|
||||
{% endif %}
|
||||
{% if b.parent %}
|
||||
{% if not b.parent %}
|
||||
<form role="form" class="form" action="{{url_for('new_book')}}" method="POST">
|
||||
<input type="hidden" name="add_sub_parent_id" value="{{books.id}}">
|
||||
{{ book_form.add_sub( class="btn btn-outline-success offset-2 col-2" )}}
|
||||
|
||||
Reference in New Issue
Block a user