summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorScott Main <smain@google.com>2012-04-20 10:38:51 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2012-04-20 10:38:51 -0700
commite8e50739dab7aef271e3c64e512c6c3605b9fde6 (patch)
treea6e193fcd7dd89bbfa4c03c08ad6a0cf917199a5 /tools
parent4793116d7ad93c4cb82a0ac637a4b4acbf4fe8b0 (diff)
parentac2c989e8492a733bdd3d4c7e1bedd5210c56c8d (diff)
downloadbuild-e8e50739dab7aef271e3c64e512c6c3605b9fde6.zip
build-e8e50739dab7aef271e3c64e512c6c3605b9fde6.tar.gz
build-e8e50739dab7aef271e3c64e512c6c3605b9fde6.tar.bz2
am ac2c989e: am 6b719da3: docs: update sidenav-width-adjust script so Training classes save the width for the Resources section
* commit 'ac2c989e8492a733bdd3d4c7e1bedd5210c56c8d': docs: update sidenav-width-adjust script so Training classes save the width for the Resources section
Diffstat (limited to 'tools')
-rw-r--r--tools/droiddoc/templates-sdk/assets/android-developer-docs.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/droiddoc/templates-sdk/assets/android-developer-docs.js b/tools/droiddoc/templates-sdk/assets/android-developer-docs.js
index c88f726..5fc7e09 100644
--- a/tools/droiddoc/templates-sdk/assets/android-developer-docs.js
+++ b/tools/droiddoc/templates-sdk/assets/android-developer-docs.js
@@ -372,6 +372,7 @@ function resizeWidth() {
if (sidenav.length) { // Must check if the nav exists because IE6 calls resizeWidth() from resizeAll() for all pages
var basePath = getBaseUri(location.pathname);
var section = basePath.substring(1,basePath.indexOf("/",1));
+ section = section.indexOf("training") != -1 ? "resources" : section;
writeCookie("width", sidenavWidth, section, null);
}
}