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

Unified Diff: background.js

Issue 5251132066627584: Issue 1488 - Add pre-configurable preference to suppress first run page (Closed)
Patch Set: Don't dispatch onChanged before loading is complete Created March 20, 2015, 4:13 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 | « no previous file | chrome/managed-storage-schema.json » ('j') | lib/prefs.js » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: background.js
===================================================================
--- a/background.js
+++ b/background.js
@@ -242,7 +242,8 @@
function notifyUser()
{
- ext.pages.open(ext.getURL("firstRun.html"));
+ if (!Prefs.suppress_first_run_page)
+ ext.pages.open(ext.getURL("firstRun.html"));
}
if (addSubscription)
« no previous file with comments | « no previous file | chrome/managed-storage-schema.json » ('j') | lib/prefs.js » ('J')

Powered by Google App Engine
This is Rietveld