Refactor plugin event API: rename message* to emit* and requests_ui_element to request_ui_element
This commit is contained in:
@@ -13,7 +13,7 @@ class InvalidPluginException(Exception):
|
||||
|
||||
class PluginsControllerMixin:
|
||||
|
||||
def requests_ui_element(self, target_id: str):
|
||||
def request_ui_element(self, target_id: str):
|
||||
if not target_id in widget_registery.objects:
|
||||
raise InvalidPluginException('Unknown UI "target_id" given in requests.')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user