Hi Guys, Any reason why the implementation of the actions container mixin does not call Container.rpcRegister but instead directly call gadgets.rpc.register?
The osapi.container.Container.prototype.rpcRegister has special code to inject "gs" key to include the caller gadget site. Here is the snippet of code in the actions_container.js: osapi.container.Container.addMixin('actions', function(container) { ... gadgets.rpc.register('actions.bindAction', bindAction); gadgets.rpc.register('actions.get_actions_by_type', getActionsByDataType); gadgets.rpc.register('actions.get_actions_by_path', getActionsByPath); gadgets.rpc.register('actions.removeAction', removeAction); gadgets.rpc.register('actions.runAction', function(id, selection) { container.actions.runAction(id, selection); }); .... - Henry