Update fetch more books button after search

This commit is contained in:
Kovid Goyal 2015-12-04 16:11:33 +05:30
parent d95bf4d0ef
commit 2adf2d324e

View File

@ -251,6 +251,7 @@ class BooksView:
query = {'search':self.interface_data.search_result.query, 'library_id':self.interface_data.library_id}
window.history.pushState(None, '', encode_query(query))
boss.ui.close_panel()
self.update_fetching_status()
window.scrollTo(0, 0)
elif end_type != 'abort':
msg = xhr.error_html