forceReload prevents ajax submission
...instead of weird hacky workarounds forcing refreshes later.
This commit is contained in:
parent
b91915d316
commit
5b67226571
4 changed files with 1 additions and 15 deletions
|
@ -102,8 +102,6 @@ class ReadingStatus(View):
|
|||
!= desired_shelf.identifier
|
||||
):
|
||||
return unshelve(request, referer=referer, book_id=book_id)
|
||||
# don't try to unshelve a read status shelf: it has already been deleted.
|
||||
return HttpResponse(headers={"forceReload": "true"})
|
||||
|
||||
if is_api_request(request):
|
||||
return HttpResponse()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue