Mercurial > libervia-web
changeset 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 | 3411ec23c389 |
files | libervia/pages/photos/album/_browser/__init__.py |
diffstat | 1 files changed, 5 insertions(+), 0 deletions(-) [+] |
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()