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

Unified Diff: ui/file_manager/file_manager/foreground/js/ui/search_box.js

Issue 2795953002: Change the selectors position in Save as dialog and make it focusable. (Closed)
Patch Set: Fix -webkit property ordering. Created 3 years, 8 months 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
Index: ui/file_manager/file_manager/foreground/js/ui/search_box.js
diff --git a/ui/file_manager/file_manager/foreground/js/ui/search_box.js b/ui/file_manager/file_manager/foreground/js/ui/search_box.js
index 7b8aef42860d8b4c0ebe65a0c88bf22de82de2bd..1c9dfb1acc07c16c842d52a08a25a25f1e333272 100644
--- a/ui/file_manager/file_manager/foreground/js/ui/search_box.js
+++ b/ui/file_manager/file_manager/foreground/js/ui/search_box.js
@@ -268,8 +268,8 @@ SearchBox.prototype.updateStyles_ = function() {
var hasFocusOnInput = this.element.classList.contains('has-cursor');
// See go/filesapp-tabindex for tabindexes.
- this.inputElement.tabIndex = (hasText || hasFocusOnInput) ? 13 : -1;
- this.searchButton.tabIndex = (hasText || hasFocusOnInput) ? -1 : 12;
+ this.inputElement.tabIndex = (hasText || hasFocusOnInput) ? 14 : -1;
+ this.searchButton.tabIndex = (hasText || hasFocusOnInput) ? -1 : 13;
};
/**
« no previous file with comments | « ui/file_manager/file_manager/foreground/js/ui/location_line.js ('k') | ui/file_manager/file_manager/main.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698