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

Unified Diff: lib/notificationHelper.js

Issue 29339314: Issue 3870 - Rewrite legacy options page to use async messages (Closed)
Patch Set: Make use of the subscription.isDownloading property Created April 6, 2016, 9:31 a.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/notificationHelper.js
diff --git a/lib/notificationHelper.js b/lib/notificationHelper.js
index 130ba261e3467342278f4f620ac654a5eed452bb..2bc950868b024ece19e38cfb4d94dc94e7dc70e0 100644
--- a/lib/notificationHelper.js
+++ b/lib/notificationHelper.js
@@ -134,8 +134,9 @@ function notificationButtonClick(buttonIndex)
ext.showOptions(function(page)
{
page.sendMessage({
- type: "focus-section",
- section: "notifications"
+ type: "app.respond",
+ action: "switchToOptionsSection",
+ args: ["notifications"]
});
});
break;

Powered by Google App Engine
This is Rietveld