summaryrefslogtreecommitdiffstats
path: root/settings/js/authtoken_view.js
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2018-08-08 11:07:47 +0200
committerChristoph Wurst <christoph@winzerhof-wurst.at>2018-08-08 11:07:47 +0200
commitb85e1188e14fc4d5e757f1ce8775b85e28bfa848 (patch)
treec1b6e6f1d473c939e5f8865417ae4f76220b662a /settings/js/authtoken_view.js
parente595cad8805c3fdacc4eac2efad40eff57b80073 (diff)
downloadnextcloud-server-b85e1188e14fc4d5e757f1ce8775b85e28bfa848.tar.gz
nextcloud-server-b85e1188e14fc4d5e757f1ce8775b85e28bfa848.zip
Fix `this` context for enter-key handler on app tokens
Fixes https://sentry.io/share/issue/e07c5560b6154212832e4cd6598464c7/. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'settings/js/authtoken_view.js')
-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');