summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Main <smain@google.com>2012-04-20 10:35:11 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2012-04-20 10:35:11 -0700
commitac2c989e8492a733bdd3d4c7e1bedd5210c56c8d (patch)
treef665b545410c055293b6aa3903c492390a1a44aa
parent1882adfd49b392acb6efe66a09bf753e1c830eef (diff)
parent6b719da3162ef99db8b90379a9dc4724b571395f (diff)
downloadbuild-ac2c989e8492a733bdd3d4c7e1bedd5210c56c8d.zip
build-ac2c989e8492a733bdd3d4c7e1bedd5210c56c8d.tar.gz
build-ac2c989e8492a733bdd3d4c7e1bedd5210c56c8d.tar.bz2
am 6b719da3: docs: update sidenav-width-adjust script so Training classes save the width for the Resources section
* commit '6b719da3162ef99db8b90379a9dc4724b571395f': docs: update sidenav-width-adjust script so Training classes save the width for the Resources section
-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);
}
}