view libervia/pages/_browser/loading.py @ 1466:cff720e26089

pages (blog/view): activate pagination when a single item is shown: `previous_page_url` and `next_page_url` are set when `item_id` is used. For now, they are both activated even if there is no item before or after, as it would request to make extra request to check it. This may be improved in 0.9 by using internal cache. fix 399
author Goffi <goffi@goffi.org>
date Thu, 30 Sep 2021 17:04:22 +0200
parents 08739952a18f
children
line wrap: on
line source

"""manage common dialogs"""

from browser import document

def remove_loading_screen():
    print("removing loading screen")
    document['loading_screen'].remove()