summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@users.noreply.github.com>2018-08-08 12:38:50 +0200
committerGitHub <noreply@github.com>2018-08-08 12:38:50 +0200
commit388403876571cde932d5406b57bb2d6638deb403 (patch)
treef7f32d927aa5331ea2b6b0849b4f2da502a484dd
parentf8e9f860ebf3d602d53398ceeaded398e9274030 (diff)
parentb85e1188e14fc4d5e757f1ce8775b85e28bfa848 (diff)
downloadnextcloud-server-388403876571cde932d5406b57bb2d6638deb403.tar.gz
nextcloud-server-388403876571cde932d5406b57bb2d6638deb403.zip
Merge pull request #10582 from nextcloud/fix/app-password-enter-this-context
Fix `this` context for enter-key handler on app tokens
-rw-r--r--settings/js/authtoken_view.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/js/authtoken_view.js b/settings/js/authtoken_view.js
index d20356b2594..7f788935ac9 100644
--- a/settings/js/authtoken_view.js
+++ b/settings/js/authtoken_view.js
@@ -245,7 +245,7 @@
if (event.which === 13) {
this._addAppPassword();
}
- });
+ }.bind(this));
this._result = $('#app-password-result');
this._newAppLoginName = $('#new-app-login-name');