mirror of
https://github.com/avatao-content/baseimage-tutorial-framework
synced 2024-11-22 23:11:33 +00:00
Fix EventHandlerBase anchor 'reset' subscription
This commit is contained in:
parent
96b5234fc1
commit
14db8cae62
@ -8,6 +8,7 @@ class EventHandlerBase:
|
|||||||
self.messaging = Messaging()
|
self.messaging = Messaging()
|
||||||
self.anchor = anchor
|
self.anchor = anchor
|
||||||
self.messaging.subscribe(self.anchor)
|
self.messaging.subscribe(self.anchor)
|
||||||
|
self.messaging.subscribe('reset')
|
||||||
self.subscriptions = {self.anchor}
|
self.subscriptions = {self.anchor}
|
||||||
self.messaging.register_callback(self.event_handler_callback)
|
self.messaging.register_callback(self.event_handler_callback)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user