Browse Source

Bugfix. Handler not triggered when submitting password form 2nd time

JC Brand 6 years ago
parent
commit
c1106f3867
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/converse-muc-views.js

+ 1 - 0
src/converse-muc-views.js

@@ -1305,6 +1305,7 @@
                     const container_el = this.el.querySelector('.chatroom-body');
                     const container_el = this.el.querySelector('.chatroom-body');
                     _.each(container_el.children, u.hideElement);
                     _.each(container_el.children, u.hideElement);
                     _.each(this.el.querySelectorAll('.spinner'), u.removeElement);
                     _.each(this.el.querySelectorAll('.spinner'), u.removeElement);
+                    _.each(this.el.querySelectorAll('.chatroom-form-container'), u.removeElement);
 
 
                     container_el.insertAdjacentHTML('beforeend',
                     container_el.insertAdjacentHTML('beforeend',
                         tpl_chatroom_password_form({
                         tpl_chatroom_password_form({