Mercurial > libervia-web
comparison libervia/pages/photos/album/_browser/__init__.py @ 1372:19eb8b6c02d4
browser (album): remove loading screen at the end of the script
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 27 Nov 2020 12:25:53 +0100 |
parents | dbd573b0bc9c |
children | b028a1256a09 |
comparison
equal
deleted
inserted
replaced
1371:08739952a18f | 1372:19eb8b6c02d4 |
---|---|
7 from slideshow import SlideShow | 7 from slideshow import SlideShow |
8 from invitation import InvitationManager | 8 from invitation import InvitationManager |
9 import alt_media_player | 9 import alt_media_player |
10 # we use tmp_aio because `blob` is not handled in Brython's aio | 10 # we use tmp_aio because `blob` is not handled in Brython's aio |
11 import tmp_aio | 11 import tmp_aio |
12 import loading | |
12 | 13 |
13 | 14 |
14 cache_path = window.cache_path | 15 cache_path = window.cache_path |
15 files_service = window.files_service | 16 files_service = window.files_service |
16 files_path = window.files_path | 17 files_path = window.files_path |
292 evt.stopPropagation() | 293 evt.stopPropagation() |
293 evt.preventDefault() | 294 evt.preventDefault() |
294 manager = InvitationManager("photos", {"service": files_service, "path": files_path}) | 295 manager = InvitationManager("photos", {"service": files_service, "path": files_path}) |
295 manager.attach(affiliations=affiliations) | 296 manager.attach(affiliations=affiliations) |
296 | 297 |
298 | |
297 # hint | 299 # hint |
298 @bind("#hint .click_to_delete", "click") | 300 @bind("#hint .click_to_delete", "click") |
299 def remove_hint(evt): | 301 def remove_hint(evt): |
300 document['hint'].remove() | 302 document['hint'].remove() |
303 | |
304 | |
305 loading.remove_loading_screen() |