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> |