Mercurial > libervia-web
diff libervia/pages/photos/album/_browser/__init__.py @ 1332:a75d82713a02
browser (photos/album): remove hint when delete button is pressed
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 14 Aug 2020 09:31:32 +0200 |
parents | fe353fceec38 |
children | ce1217e3a9c0 |
line wrap: on
line diff
--- a/libervia/pages/photos/album/_browser/__init__.py Fri Aug 14 09:31:32 2020 +0200 +++ b/libervia/pages/photos/album/_browser/__init__.py Fri Aug 14 09:31:32 2020 +0200 @@ -190,3 +190,8 @@ evt.preventDefault() manager = InvitationManager("photos", {"service": files_service, "path": files_path}) manager.attach(affiliations=affiliations) + +# hint +@bind("#hint .click_to_delete", "click") +def remove_hint(evt): + document['hint'].remove()