Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3866)

Unified Diff: chrome/common/extensions/docs/server2/templates/private/header_body.html

Issue 10828027: Extensions Docs Server: use addEventListener with branch.js (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/common/extensions/docs/server2/templates/private/header_body.html
diff --git a/chrome/common/extensions/docs/server2/templates/private/header_body.html b/chrome/common/extensions/docs/server2/templates/private/header_body.html
index f735aa31a1cd90f00b923a68ec80fdd637955ec4..d288fb73abc0e00fbb8f5c7adaca4d982076ade8 100644
--- a/chrome/common/extensions/docs/server2/templates/private/header_body.html
+++ b/chrome/common/extensions/docs/server2/templates/private/header_body.html
@@ -1,7 +1,8 @@
{{?branchInfo.showWarning}}
+<script>window.bootstrap = { branchInfo: {{*branchInfo}} };</script>
not at google - send to devlin 2012/07/27 03:30:39 Put in the footer? Loading the select without the
cduvall 2012/07/27 17:51:10 Done.
<div id="branchWarning" class="displayModeWarning">
<span>WARNING: this is the {{branchInfo.current}} documentation. It may not work with the stable release of Chrome.</span>
- <select id="branchChooser" onchange="redirectToBranch(this.value)">
+ <select id="branchChooser">
<option value="">Choose a different version...</option>
{{#branchInfo.branches}}
<option value="{{path}}">{{name}}</option>

Powered by Google App Engine
This is Rietveld 408576698