Merge pull request #3803 from Thijsdh/master
Create app password by pressing enter
This commit is contained in:
commit
08cbd82a16
1 changed files with 6 additions and 0 deletions
|
@ -230,6 +230,12 @@
|
|||
this._tokenName = $('#app-password-name');
|
||||
this._addAppPasswordBtn = $('#add-app-password');
|
||||
this._addAppPasswordBtn.click(_.bind(this._addAppPassword, this));
|
||||
this._appPasswordName = $('#app-password-name');
|
||||
this._appPasswordName.on('keypress', function(event) {
|
||||
if (event.which === 13) {
|
||||
_this._addAppPassword();
|
||||
}
|
||||
});
|
||||
|
||||
this._result = $('#app-password-result');
|
||||
this._newAppLoginName = $('#new-app-login-name');
|
||||
|
|
Loading…
Reference in a new issue