Index: lib/aardvark.js |
=================================================================== |
--- a/lib/aardvark.js |
+++ b/lib/aardvark.js |
@@ -572,21 +572,24 @@ let Aardvark = exports.Aardvark = |
if (!elem) |
return false; |
this.browser.selectedBrowser.messageManager.sendAsyncMessage( |
"ElemHideHelper:GetNodeInfo", |
null, |
{ |
element: elem, |
- callback: (nodeData, host) => |
+ callback: (response) => |
{ |
+ response = JSON.parse(response); |
+ if (!response.nodeData) |
+ return; |
+ |
this.window.openDialog("chrome://elemhidehelper/content/composer.xul", |
- "_blank", "chrome,centerscreen,resizable,dialog=no", nodeData, |
- host); |
+ "_blank", "chrome,centerscreen,resizable,dialog=no", response); |
this.quit(); |
} |
} |
); |
return false; |
}, |
blinkElement: function(elem) |