diff --git a/tools/droiddoc/templates-sdk/sdkpage.cs b/tools/droiddoc/templates-sdk/sdkpage.cs index 013de59cb..3a3a9a3b5 100644 --- a/tools/droiddoc/templates-sdk/sdkpage.cs +++ b/tools/droiddoc/templates-sdk/sdkpage.cs @@ -342,7 +342,7 @@ var:sdk.linux_download Windows -
(Recommended) @@ -353,7 +353,7 @@ var:sdk.linux_download -
(No SDK tools included) @@ -364,7 +364,7 @@ var:sdk.linux_download - @@ -375,7 +375,7 @@ var:sdk.linux_download Mac OS X - @@ -386,7 +386,7 @@ var:sdk.linux_download Linux - @@ -450,7 +450,11 @@ var:sdk.linux_download } $("#downloadForRealz").attr('bundle', bundle); - $("a#downloadForRealz").attr("name", $(link).attr('href')); + if (bundle && !button) { + $("a#downloadForRealz").attr("name", "#" + $(link).attr('id')); + } else { + $("a#downloadForRealz").attr("name", $(link).attr('href')); + } $("#tos").show(); $("#landing").hide();