# HG changeset patch # User Goffi # Date 1597390292 -7200 # Node ID a75d82713a02c526f59db770a4d5f82a0b5b2995 # Parent fe353fceec3874ad05529bd94fb5553e173b6999 browser (photos/album): remove hint when delete button is pressed diff -r fe353fceec38 -r a75d82713a02 libervia/pages/photos/album/_browser/__init__.py --- 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()