Index: messageResponder.js |
=================================================================== |
--- a/messageResponder.js |
+++ b/messageResponder.js |
@@ -197,7 +197,15 @@ |
port.on("app.open", (message, sender) => |
{ |
if (message.what == "options") |
- ext.showOptions(); |
+ { |
saroyanm
2017/07/18 12:46:26
Why is this change necessary ?
Thomas Greiner
2017/07/18 17:42:30
This is how we pass the domain to the options page
|
+ ext.showOptions(() => |
+ { |
+ if (!message.action) |
+ return; |
+ |
+ sendMessage("app", message.action, ...message.args); |
+ }); |
+ } |
}); |
port.on("filters.add", (message, sender) => |