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

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

Issue 1115993002: ChromeOS Gaia: SAML password confirmation dialog (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Roman changes Created 5 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/chromeos/login/gaia_input_form.js
diff --git a/chrome/browser/resources/chromeos/login/gaia_input_form.js b/chrome/browser/resources/chromeos/login/gaia_input_form.js
index 7306ba7374537c72a43cf2595de5f15116906d5e..bcb895dabc165b8e14dff1ff8f261e7861ba1d44 100644
--- a/chrome/browser/resources/chromeos/login/gaia_input_form.js
+++ b/chrome/browser/resources/chromeos/login/gaia_input_form.js
@@ -56,6 +56,14 @@ Polymer('gaia-input-form', (function() {
setValid: function(isValid) {
this.$.paperInputDecorator.isInvalid = !isValid;
- }
+ },
+
+ set disabled(value) {
+ this.$.inputForm.disabled = value;
+ var controls = this.querySelectorAll(':host /deep/ [role="button"]');
+ for (var i = 0, control; control = controls[i]; ++i) {
+ control.disabled = value;
+ }
+ },
};
})());

Powered by Google App Engine
This is Rietveld 408576698