Index: lib/filterComposer.js |
=================================================================== |
--- a/lib/filterComposer.js |
+++ b/lib/filterComposer.js |
@@ -197,16 +197,21 @@ |
{ |
ext.pages.query({}, pages => |
{ |
for (let page of pages) |
updateContextMenu(page); |
}); |
}); |
+port.on("composer.isPageReady", (message, sender) => |
+{ |
+ return readyPages.has(new ext.Page({id: message.pageId})); |
+}); |
+ |
port.on("composer.ready", (message, sender) => |
{ |
readyPages.set(sender.page, null); |
updateContextMenu(sender.page); |
}); |
port.on("composer.openDialog", (message, sender) => |
{ |