fixed bug-40, when adding author/<id>/books route, to edit_id.html, I assumed object existed, when creating it did not, now fixed
This commit is contained in:
4
BUGs
4
BUGs
@@ -1,4 +1,4 @@
|
|||||||
#### BUGS (next-38)
|
#### BUGS (next-41)
|
||||||
|
|
||||||
BUG-7: if you remove a series from a book, it won't appear in the series drop-down if it is the first 'missing' book in that series -- either reset the list, or show all series always?
|
BUG-7: if you remove a series from a book, it won't appear in the series drop-down if it is the first 'missing' book in that series -- either reset the list, or show all series always?
|
||||||
|
|
||||||
@@ -19,5 +19,3 @@ BUG-37: should allow deleting from 'On Wishlist' as well
|
|||||||
BUG-38: books on shelf should not show books on Loan
|
BUG-38: books on shelf should not show books on Loan
|
||||||
|
|
||||||
BUG-39: Loaned to "info box" is below save, not to the left? (or somehow better anyway, it looks pox now)
|
BUG-39: Loaned to "info box" is below save, not to the left? (or somehow better anyway, it looks pox now)
|
||||||
|
|
||||||
BUG-40: create Author, publisher, genre, condition, covertype all fail with internal server error
|
|
||||||
|
|||||||
@@ -33,7 +33,9 @@
|
|||||||
{% endblock main_content %}
|
{% endblock main_content %}
|
||||||
|
|
||||||
{% block script_content %}
|
{% block script_content %}
|
||||||
|
{% if object %}
|
||||||
<script>
|
<script>
|
||||||
$.get( "/author/{{object.id}}/books", function(data) { $('#books_by_author').html(data) } );
|
$.get( "/author/{{object.id}}/books", function(data) { $('#books_by_author').html(data) } );
|
||||||
</script>
|
</script>
|
||||||
|
{% endif %}
|
||||||
{% endblock script_content %}
|
{% endblock script_content %}
|
||||||
|
|||||||
Reference in New Issue
Block a user