diff libervia/web/pages/_browser/invitation.py @ 1589:7228fc3c4744

browser (dialog): be sure to remove dialog on `OK` and `Cancel` click + avoid side effects
author Goffi <goffi@goffi.org>
date Sun, 10 Dec 2023 11:00:44 +0100
parents d7c78722e4f8
children
line wrap: on
line diff
--- a/libervia/web/pages/_browser/invitation.py	Sun Dec 10 10:59:25 2023 +0100
+++ b/libervia/web/pages/_browser/invitation.py	Sun Dec 10 11:00:44 2023 +0100
@@ -421,7 +421,6 @@
             )
 
     def _on_affiliation_set_cancel(self, evt, notif_elt):
-        notif_elt.remove()
         self.open()
 
     def on_affiliation_set(self, entity_jid, name, affiliation_elt, affiliation):