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

Unified Diff: chrome/browser/resources/settings/passwords_and_forms_page/password_edit_dialog.js

Issue 2787713004: MD Settings: Make password dialog inputs appear read-only (Closed)
Patch Set: restyle readonly textfields in password dialog Created 3 years, 9 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
« no previous file with comments | « chrome/browser/resources/settings/passwords_and_forms_page/password_edit_dialog.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/settings/passwords_and_forms_page/password_edit_dialog.js
diff --git a/chrome/browser/resources/settings/passwords_and_forms_page/password_edit_dialog.js b/chrome/browser/resources/settings/passwords_and_forms_page/password_edit_dialog.js
index bfa1e2d283934a8ab457b62192c836d1dac2ad9c..2970cd7e2473e29282bba493e6cc36ca850c60a7 100644
--- a/chrome/browser/resources/settings/passwords_and_forms_page/password_edit_dialog.js
+++ b/chrome/browser/resources/settings/passwords_and_forms_page/password_edit_dialog.js
@@ -97,5 +97,14 @@ Polymer({
// TODO(hcarmona): what to save?
this.close();
},
+
+ /**
+ * @param {!Event} event
+ * @private
+ */
+ onReadonlyInputTap_: function(event) {
+ /** @type {!PaperInputElement} */ (Polymer.dom(event).localTarget)
+ .inputElement.select();
+ }
});
})();
« no previous file with comments | « chrome/browser/resources/settings/passwords_and_forms_page/password_edit_dialog.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698