From db24bf7a70a39e60b1a755943dceebdda67d4748 Mon Sep 17 00:00:00 2001 From: JC Brand Date: Sun, 31 Aug 2014 02:17:48 +0200 Subject: [PATCH] Bugfix. Don't append, replace. Otherwise, if the same error presence is received twice, the form will render twice. --- converse.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/converse.js b/converse.js index 66f864b4c..309f8e012 100644 --- a/converse.js +++ b/converse.js @@ -2173,7 +2173,7 @@ renderPasswordForm: function () { this.$el.find('span.centered.spinner').remove(); - this.$el.find('.chat-body').append( + this.$el.find('.chat-body').html( $('
'+ '
'+ ''+__('This chatroom requires a password')+'' +