view libervia/pages/_browser/loading.py @ 1428:b028a1256a09

browser (photos/album): show directly failure's message on upload error, and remove photo
author Goffi <goffi@goffi.org>
date Wed, 05 May 2021 15:43:44 +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()