Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: lib/objectTabs.js

Issue 29329884: Issue 3224 - Unbreak filter assistant (Closed)
Patch Set: Rebased Created Nov. 12, 2015, 3:10 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: lib/objectTabs.js
===================================================================
--- a/lib/objectTabs.js
+++ b/lib/objectTabs.js
@@ -39,20 +39,20 @@ Utils.addChildMessageListener("AdblockPl
return {
label: UI.overlay.attributes.objtabtext,
tooltip: UI.overlay.attributes.objtabtooltip,
classVisibleTop, classVisibleBottom, classHidden
};
});
-Utils.addChildMessageListener("AdblockPlus:BlockItem", function(item)
+Utils.addChildMessageListener("AdblockPlus:BlockItem", function({request, nodesID})
{
let {UI} = require("ui");
- UI.blockItem(UI.currentWindow, null, item);
+ UI.blockItem(UI.currentWindow, nodesID, request);
});
function init()
{
function processCSSData(event)
{
if (onShutdown.done)
return;
« lib/child/contentPolicy.js ('K') | « lib/contentPolicy.js ('k') | lib/requestNotifier.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld