Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2512)

Unified Diff: chrome/browser/resources/chromeos/login/network_dropdown.js

Issue 8577002: [cros,login] Hides dropdown menu on activation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/chromeos/login/network_dropdown.js
diff --git a/chrome/browser/resources/chromeos/login/network_dropdown.js b/chrome/browser/resources/chromeos/login/network_dropdown.js
index 062a7cdcaf2d2919c3787a7cc36b7e2b75bd5fe1..cb058731f94f89d0020d0b26f842ad8df161f2bd 100644
--- a/chrome/browser/resources/chromeos/login/network_dropdown.js
+++ b/chrome/browser/resources/chromeos/login/network_dropdown.js
@@ -88,7 +88,6 @@ cr.define('cr.ui', function() {
this.appendChild(this.title_ = this.createTitle_());
this.appendChild(new DropDownContainer());
- this.isShown = false;
this.addEventListener('keydown', this.keyDownHandler_);
this.title_.id = this.id + '-dropdown';
@@ -379,6 +378,7 @@ cr.define('cr.ui', function() {
DropDown.setActive = function(elementId, isActive) {
if (isActive) {
DropDown.activeElementId_ = elementId;
+ $(elementId).isShown = false;
chrome.send('networkDropdownShow', [elementId]);
} else {
if (DropDown.activeElementId_ == elementId) {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698