That must be !prebind
This commit is contained in:
parent
7a90876ad7
commit
a1b7eed7ac
@ -761,7 +761,7 @@
|
|||||||
|
|
||||||
render: function () {
|
render: function () {
|
||||||
this.$el.html(this.template(this.model.toJSON()));
|
this.$el.html(this.template(this.model.toJSON()));
|
||||||
if ((xmppchat.prebind) && (!xmppchat.connection)) {
|
if ((!xmppchat.prebind) && (!xmppchat.connection)) {
|
||||||
// Add login panel if the user still has to authenticate
|
// Add login panel if the user still has to authenticate
|
||||||
this.loginpanel = new xmppchat.LoginPanel();
|
this.loginpanel = new xmppchat.LoginPanel();
|
||||||
this.loginpanel.$parent = this.$el;
|
this.loginpanel.$parent = this.$el;
|
||||||
|
Loading…
Reference in New Issue
Block a user