Commit cbf96177 authored by JC Brand's avatar JC Brand

Fix selector for cancel button.

parent a95fbcc0
...@@ -2,6 +2,8 @@ ...@@ -2,6 +2,8 @@
## 2.0.5 ## 2.0.5
- #755: create composer.json to add this project in packagist.org [fabiomontefuscolo] - #755: create composer.json to add this project in packagist.org [fabiomontefuscolo]
- Bugfix. Cancel button shown while registration form is being fetched wasn't working
properly. [jcbrand]
## 2.0.4 (2016-12-13) ## 2.0.4 (2016-12-13)
- #737: Bugfix. Translations weren't being applied. [jcbrand] - #737: Bugfix. Translations weren't being applied. [jcbrand]
......
...@@ -235,7 +235,7 @@ ...@@ -235,7 +235,7 @@
cancel: __('Cancel'), cancel: __('Cancel'),
info_message: __('Requesting a registration form from the XMPP server') info_message: __('Requesting a registration form from the XMPP server')
})); }));
$form.find('button.cancel').on('click', this.cancelRegistration.bind(this)); $form.find('button.button-cancel').on('click', this.cancelRegistration.bind(this));
this.reset({ this.reset({
domain: Strophe.getDomainFromJid(domain), domain: Strophe.getDomainFromJid(domain),
_registering: true _registering: true
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment