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: Fix Downloading... indicators Created April 3, 2016, 4: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/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