summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
authorstuartmorgan@chromium.org <stuartmorgan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-14 17:04:43 +0000
committerstuartmorgan@chromium.org <stuartmorgan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-14 17:04:43 +0000
commitd0154965b31182b71ca8f886987567cb23849c03 (patch)
tree47d8c3dfaa37e1941eb7e5c2112eddd98c17be4e /chrome
parent493c8001f5011b3f0aacf06a57df7f523b09b23c (diff)
downloadchromium_src-d0154965b31182b71ca8f886987567cb23849c03.zip
chromium_src-d0154965b31182b71ca8f886987567cb23849c03.tar.gz
chromium_src-d0154965b31182b71ca8f886987567cb23849c03.tar.bz2
Start WebUI autocomplete lists hidden
BUG=79150 TEST=Open prefs, and look at the upper left corner. There should not be a grey dot. Review URL: http://codereview.chromium.org/6849025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81607 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r--chrome/browser/resources/options/autocomplete_list.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/chrome/browser/resources/options/autocomplete_list.js b/chrome/browser/resources/options/autocomplete_list.js
index f20fa91..ff85b1b 100644
--- a/chrome/browser/resources/options/autocomplete_list.js
+++ b/chrome/browser/resources/options/autocomplete_list.js
@@ -1,4 +1,4 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -105,6 +105,8 @@ cr.define('options', function() {
if (self.suggestionUpdateRequestCallback_)
self.suggestionUpdateRequestCallback_(self.targetInput_.value);
};
+ // Start hidden; adding suggestions will unhide.
+ this.hidden = true;
},
/** @inheritDoc */