| Index: chrome/browser/resources/settings/passwords_and_forms_page/credit_card_edit_dialog.html
|
| diff --git a/chrome/browser/resources/settings/passwords_and_forms_page/credit_card_edit_dialog.html b/chrome/browser/resources/settings/passwords_and_forms_page/credit_card_edit_dialog.html
|
| index 93d232e0e9556d175910a56cfb9afcb865305fc8..fabfee030ff30fd9b4c04eeb33f7ee91db560f6a 100644
|
| --- a/chrome/browser/resources/settings/passwords_and_forms_page/credit_card_edit_dialog.html
|
| +++ b/chrome/browser/resources/settings/passwords_and_forms_page/credit_card_edit_dialog.html
|
| @@ -2,6 +2,7 @@
|
| <link rel="import" href="chrome://resources/html/polymer.html">
|
| <link rel="import" href="chrome://resources/html/i18n_behavior.html">
|
| <link rel="import" href="chrome://resources/html/md_select_css.html">
|
| +<link rel="import" href="chrome://resources/polymer/v1_0/iron-a11y-keys/iron-a11y-keys.html">
|
| <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-button.html">
|
| <link rel="import" href="chrome://resources/polymer/v1_0/paper-input/paper-input.html">
|
| <link rel="import" href="/settings_vars_css.html">
|
| @@ -45,11 +46,18 @@
|
| <dialog is="cr-dialog" id="dialog">
|
| <div class="title">[[title_]]</div>
|
| <div class="body">
|
| - <paper-input id="nameInput" label="$i18n{creditCardName}"
|
| - value="{{creditCard.name}}" always-float-label></paper-input>
|
| - <paper-input id="numberInput" label="$i18n{creditCardNumber}"
|
| - value="{{creditCard.cardNumber}}" always-float-label>
|
| - </paper-input>
|
| + <div>
|
| + <iron-a11y-keys keys="enter" on-keys-pressed="onSaveButtonTap_">
|
| + </iron-a11y-keys>
|
| + <paper-input id="nameInput" label="$i18n{creditCardName}"
|
| + value="{{creditCard.name}}" always-float-label
|
| + on-input="onCreditCardNameOrNumberChanged_">
|
| + </paper-input>
|
| + <paper-input id="numberInput" label="$i18n{creditCardNumber}"
|
| + value="{{creditCard.cardNumber}}" always-float-label
|
| + on-input="onCreditCardNameOrNumberChanged_">
|
| + </paper-input>
|
| + </div>
|
| <label>$i18n{creditCardExpiration}</label>
|
| <span class="md-select-wrapper">
|
| <select class="md-select" id="month" value="[[expirationMonth_]]"
|
| @@ -77,7 +85,7 @@
|
| <paper-button id="cancelButton" class="cancel-button"
|
| on-tap="onCancelButtonTap_">$i18n{cancel}</paper-button>
|
| <paper-button id="saveButton" class="action-button"
|
| - on-tap="onSaveButtonTap_">$i18n{save}</paper-button>
|
| + on-tap="onSaveButtonTap_" disabled>$i18n{save}</paper-button>
|
| </div>
|
| </dialog>
|
| </template>
|
|
|