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

Unified Diff: chrome/browser/resources/settings/internet_page/network_siminfo.js

Issue 2842303004: MD Settings: update dialogs to focus without ink when using mouse (Closed)
Patch Set: merge 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: chrome/browser/resources/settings/internet_page/network_siminfo.js
diff --git a/chrome/browser/resources/settings/internet_page/network_siminfo.js b/chrome/browser/resources/settings/internet_page/network_siminfo.js
index 1dc2ef757a7b12e32e49afad3855a32c53b0d350..0dcb4a99a732dae16a5113657c1f6dea1a44bfe0 100644
--- a/chrome/browser/resources/settings/internet_page/network_siminfo.js
+++ b/chrome/browser/resources/settings/internet_page/network_siminfo.js
@@ -361,17 +361,17 @@ Polymer({
/** @private */
onEnterPinDialogClose_: function() {
- this.$$('#simLockButton').focus();
+ cr.ui.focusWithoutInk(assert(this.$$('#simLockButton')));
},
/** @private */
onChangePinDialogClose_: function() {
- this.$$('#changePinButton').focus();
+ cr.ui.focusWithoutInk(assert(this.$$('#changePinButton')));
},
/** @private */
onUnlockPinDialogClose_: function() {
- this.$$('#unlockPinButton').focus();
+ cr.ui.focusWithoutInk(assert(this.$$('#unlockPinButton')));
},
});
})();

Powered by Google App Engine
This is Rietveld 408576698