aboutsummaryrefslogtreecommitdiffstats
path: root/tools/droiddoc
diff options
context:
space:
mode:
authorScott Main <smain@google.com>2016-05-06 16:22:24 +0000
committerandroid-build-merger <android-build-merger@google.com>2016-05-06 16:22:24 +0000
commitfa46661aa7990698cc4e6e65b830a3ce94edcb07 (patch)
tree7f7434441c1671e632b1df3f429f149e8817dc5b /tools/droiddoc
parent307d36d9d4938f6e7ff92d54f3962f23c073f5dc (diff)
parent4d6e15df032f561d64a11190df052aec364a3d47 (diff)
downloadplatform_build-fa46661aa7990698cc4e6e65b830a3ce94edcb07.tar.gz
platform_build-fa46661aa7990698cc4e6e65b830a3ce94edcb07.tar.bz2
platform_build-fa46661aa7990698cc4e6e65b830a3ce94edcb07.zip
Revert "add studio survey button to header." 40k responses is probably enough.
am: 4d6e15df03 * commit '4d6e15df032f561d64a11190df052aec364a3d47': Revert "add studio survey button to header." 40k responses is probably enough. Change-Id: I7fd13ab441835b3515e5a66aeda8e27ce748c8a8
Diffstat (limited to 'tools/droiddoc')
-rw-r--r--tools/droiddoc/templates-sdk/assets/js/docs.js16
-rw-r--r--tools/droiddoc/templates-sdk/components/masthead.cs8
2 files changed, 1 insertions, 23 deletions
diff --git a/tools/droiddoc/templates-sdk/assets/js/docs.js b/tools/droiddoc/templates-sdk/assets/js/docs.js
index d6aa351e8f..ee3ebee21e 100644
--- a/tools/droiddoc/templates-sdk/assets/js/docs.js
+++ b/tools/droiddoc/templates-sdk/assets/js/docs.js
@@ -21,8 +21,6 @@ $.ajaxSetup({
$(document).ready(function() {
- showStudioSurveyButton();
-
// show lang dialog if the URL includes /intl/
//if (location.pathname.substring(0,6) == "/intl/") {
// var lang = location.pathname.split('/')[2];
@@ -5377,17 +5375,3 @@ function showSamples() {
$(document)
.on('click.toggle', '[data-toggle="section"]', Toggle.prototype.toggle);
})(jQuery);
-
-
-var STUDIO_SURVEY_CLICKED = 'studio-survey-20160429-clicked';
-
-function onClickStudioSurvey() {
- localStorage.setItem(STUDIO_SURVEY_CLICKED, 'true');
- $("#studio-survey-button").fadeOut();
-}
-
-function showStudioSurveyButton() {
- if (localStorage.getItem(STUDIO_SURVEY_CLICKED) == null) {
- $("#studio-survey-button").show();
- }
-} \ No newline at end of file
diff --git a/tools/droiddoc/templates-sdk/components/masthead.cs b/tools/droiddoc/templates-sdk/components/masthead.cs
index d27b2fcdef..04fee654bd 100644
--- a/tools/droiddoc/templates-sdk/components/masthead.cs
+++ b/tools/droiddoc/templates-sdk/components/masthead.cs
@@ -86,13 +86,7 @@
<span class="dac-sprite dac-google-play"></span>
<span class="dac-visible-desktop-inline">Developer</span>
Console
- </a>
- <a class="dac-header-console-btn" id="studio-survey-button"
- href="http://goo.gl/forms/dOQUuzwBsX"
- onclick="onClickStudioSurvey()"
- target="_blank" style="background:#FFE0B2;display:none"
- >Take a 1 min survey</a>
- <?cs /if ?>
+ </a><?cs /if ?>
</div><!-- end header-wrap.wrap -->
</div><!-- end header -->