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: Avoid another race condition Created April 7, 2016, 1:27 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') | options.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/notificationHelper.js
diff --git a/lib/notificationHelper.js b/lib/notificationHelper.js
index 130ba261e3467342278f4f620ac654a5eed452bb..4667bc365597dc932e7985d9608290815d13057a 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: "focusSection",
+ args: ["notifications"]
});
});
break;
« no previous file with comments | « dependencies ('k') | options.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld