| Index: chrome/browser/resources/chromeos/login/saml_confirm_password.js
|
| diff --git a/chrome/browser/resources/chromeos/login/saml_confirm_password.js b/chrome/browser/resources/chromeos/login/saml_confirm_password.js
|
| index ad1d90e8924b3d2c52ef3a91d6150e84a6c298f3..1a671fec19e3a435f70c42cc217aa90a3b716c34 100644
|
| --- a/chrome/browser/resources/chromeos/login/saml_confirm_password.js
|
| +++ b/chrome/browser/resources/chromeos/login/saml_confirm_password.js
|
| @@ -8,17 +8,10 @@ Polymer({
|
| properties: {
|
| email: String,
|
|
|
| - disabled: {
|
| - type: Boolean,
|
| - value: false,
|
| - observer: 'disabledChanged_'
|
| - },
|
| -
|
| - manualInput: {
|
| - type: Boolean,
|
| - value: false,
|
| - observer: 'manualInputChanged_'
|
| - }
|
| + disabled: {type: Boolean, value: false, observer: 'disabledChanged_'},
|
| +
|
| + manualInput:
|
| + {type: Boolean, value: false, observer: 'manualInputChanged_'}
|
| },
|
|
|
| ready: function() {
|
| @@ -29,8 +22,11 @@ Polymer({
|
| */
|
| var pages = this.$.animatedPages;
|
| delete pages._squelchNextFinishEvent;
|
| - Object.defineProperty(pages, '_squelchNextFinishEvent',
|
| - { get: function() { return false; } });
|
| + Object.defineProperty(pages, '_squelchNextFinishEvent', {
|
| + get: function() {
|
| + return false;
|
| + }
|
| + });
|
| },
|
|
|
| reset: function() {
|
| @@ -102,11 +98,12 @@ Polymer({
|
|
|
| manualInputChanged_: function() {
|
| var titleId =
|
| - this.manualInput ? 'manualPasswordTitle' : 'confirmPasswordTitle';
|
| + this.manualInput ? 'manualPasswordTitle' : 'confirmPasswordTitle';
|
| var passwordInputLabelId =
|
| - this.manualInput ? 'manualPasswordInputLabel' : 'confirmPasswordLabel';
|
| + this.manualInput ? 'manualPasswordInputLabel' : 'confirmPasswordLabel';
|
| var passwordInputErrorId = this.manualInput ?
|
| - 'manualPasswordMismatch' : 'confirmPasswordIncorrectPassword';
|
| + 'manualPasswordMismatch' :
|
| + 'confirmPasswordIncorrectPassword';
|
|
|
| this.$.title.textContent = loadTimeData.getString(titleId);
|
| this.$.passwordInput.label = loadTimeData.getString(passwordInputLabelId);
|
|
|