comparison 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
comparison
equal deleted inserted replaced
1331:fe353fceec38 1332:a75d82713a02
188 def manage_click(evt): 188 def manage_click(evt):
189 evt.stopPropagation() 189 evt.stopPropagation()
190 evt.preventDefault() 190 evt.preventDefault()
191 manager = InvitationManager("photos", {"service": files_service, "path": files_path}) 191 manager = InvitationManager("photos", {"service": files_service, "path": files_path})
192 manager.attach(affiliations=affiliations) 192 manager.attach(affiliations=affiliations)
193
194 # hint
195 @bind("#hint .click_to_delete", "click")
196 def remove_hint(evt):
197 document['hint'].remove()