Index: chrome/content/composer.js |
=================================================================== |
--- a/chrome/content/composer.js |
+++ b/chrome/content/composer.js |
@@ -488,18 +488,18 @@ function fillAttributes(nodeData) |
// Add custom CSS entry |
node = createAttribute("advanced", nodeData.customCSS, list.getAttribute("_labelcustom"), nodeData.customCSS.selected); |
list.appendChild(node); |
} |
} |
function togglePreview(preview, forgetNode) |
{ |
- let messageManager = Cc["@mozilla.org/globalmessagemanager;1"] |
- .getService(Ci.nsIMessageBroadcaster); |
+ let messageManager = Cc["@mozilla.org/parentprocessmessagemanager;1"] |
+ .getService(Ci.nsIMessageBroadcaster); |
messageManager.broadcastAsyncMessage("ElemHideHelper:Preview", { |
nodeID: nodeID, |
stylesheetData: preview ? stylesheetData : null, |
forgetNode: !!forgetNode |
}); |
} |
function changeDomain(node) { |