aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/users/tokens-view.js
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2015-11-27 15:20:46 +0100
committerStas Vilchik <vilchiks@gmail.com>2015-11-27 15:20:46 +0100
commit08625970e3edaee0209c29c780740d81d637082e (patch)
treee1156e7a0122c5f405294c867790f47fcaaf7ffa /server/sonar-web/src/main/js/apps/users/tokens-view.js
parentdae5bf58a4d228047caadfd5f2fe2c149cb266c8 (diff)
downloadsonarqube-08625970e3edaee0209c29c780740d81d637082e.tar.gz
sonarqube-08625970e3edaee0209c29c780740d81d637082e.zip
test how to generate and revoke tokens through web ui
Diffstat (limited to 'server/sonar-web/src/main/js/apps/users/tokens-view.js')
-rw-r--r--server/sonar-web/src/main/js/apps/users/tokens-view.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/sonar-web/src/main/js/apps/users/tokens-view.js b/server/sonar-web/src/main/js/apps/users/tokens-view.js
index e986e84e7ac..c9c34eb2556 100644
--- a/server/sonar-web/src/main/js/apps/users/tokens-view.js
+++ b/server/sonar-web/src/main/js/apps/users/tokens-view.js
@@ -12,8 +12,8 @@ export default Modal.extend({
events () {
return _.extend(Modal.prototype.events.apply(this, arguments), {
- 'submit #generate-token-form': 'onGenerateTokenFormSubmit',
- 'submit #revoke-token-form': 'onRevokeTokenFormSubmit'
+ 'submit .js-generate-token-form': 'onGenerateTokenFormSubmit',
+ 'submit .js-revoke-token-form': 'onRevokeTokenFormSubmit'
});
},