Try to fetch next page if loading a new catalog resulted in a single page

pull/1104/head
Andrey Golovizin 10 years ago
parent 500ad9ba4c
commit 5888773c95

@ -375,6 +375,9 @@ function OPDSBrowser:updateCatalog(url, baseurl)
if #menu_table > 0 then
--DEBUG("menu table", menu_table)
self:swithItemTable(nil, menu_table)
if self.page_num <= 1 then
self:onNext()
end
return true
end
end

Loading…
Cancel
Save