Remove overrides of renderLoginPanel
which has also been removed earlier
This commit is contained in:
parent
be9016a081
commit
e64798208f
@ -101,7 +101,6 @@ converse.plugins.add('converse-controlbox', {
|
|||||||
api.listen.on('chatBoxesFetched', onChatBoxesFetched);
|
api.listen.on('chatBoxesFetched', onChatBoxesFetched);
|
||||||
api.listen.on('cleanup', () => delete _converse.controlboxtoggle);
|
api.listen.on('cleanup', () => delete _converse.controlboxtoggle);
|
||||||
api.listen.on('clearSession', clearSession);
|
api.listen.on('clearSession', clearSession);
|
||||||
api.listen.on('disconnected', () => disconnect().renderLoginPanel());
|
|
||||||
api.listen.on('will-reconnect', disconnect);
|
api.listen.on('will-reconnect', disconnect);
|
||||||
|
|
||||||
api.waitUntil('chatBoxViewsInitialized')
|
api.waitUntil('chatBoxViewsInitialized')
|
||||||
|
@ -46,12 +46,6 @@ converse.plugins.add('converse-dragresize', {
|
|||||||
},
|
},
|
||||||
|
|
||||||
ControlBoxView: {
|
ControlBoxView: {
|
||||||
renderLoginPanel () {
|
|
||||||
const result = this.__super__.renderLoginPanel.apply(this, arguments);
|
|
||||||
this.initDragResize().setDimensions();
|
|
||||||
return result;
|
|
||||||
},
|
|
||||||
|
|
||||||
renderControlBoxPane () {
|
renderControlBoxPane () {
|
||||||
const result = this.__super__.renderControlBoxPane.apply(this, arguments);
|
const result = this.__super__.renderControlBoxPane.apply(this, arguments);
|
||||||
this.initDragResize().setDimensions();
|
this.initDragResize().setDimensions();
|
||||||
|
@ -282,7 +282,6 @@ class RegisterPanel extends ElementView {
|
|||||||
);
|
);
|
||||||
this.giveFeedback(__('Now logging you in'), 'info');
|
this.giveFeedback(__('Now logging you in'), 'info');
|
||||||
} else {
|
} else {
|
||||||
_converse.chatboxviews.get('controlbox').renderLoginPanel();
|
|
||||||
_converse.giveFeedback(__('Registered successfully'));
|
_converse.giveFeedback(__('Registered successfully'));
|
||||||
}
|
}
|
||||||
this.reset();
|
this.reset();
|
||||||
|
Loading…
Reference in New Issue
Block a user