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

Unified Diff: lib/notificationHelper.js

Issue 29730656: Issue 6476 - Update adblockplusui dependencies to ead38c2013b5 (Closed)
Patch Set: updated git dependency Created March 23, 2018, 3 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
« no previous file with comments | « dependencies ('k') | lib/options.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/notificationHelper.js
===================================================================
--- a/lib/notificationHelper.js
+++ b/lib/notificationHelper.js
@@ -121,19 +121,19 @@
url: Utils.getDocLink(activeNotification.links[buttonIndex])
});
break;
case "open-all":
openNotificationLinks();
break;
case "configure":
Prefs.notifications_showui = true;
- showOptions(page =>
+ showOptions((page, port) =>
{
- page.sendMessage({
+ port.postMessage({
type: "app.respond",
action: "focusSection",
args: ["notifications"]
});
});
break;
case "question":
NotificationStorage.triggerQuestionListeners(activeNotification.id,
« no previous file with comments | « dependencies ('k') | lib/options.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld