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('cleanup', () => delete _converse.controlboxtoggle);
|
||||
api.listen.on('clearSession', clearSession);
|
||||
api.listen.on('disconnected', () => disconnect().renderLoginPanel());
|
||||
api.listen.on('will-reconnect', disconnect);
|
||||
|
||||
api.waitUntil('chatBoxViewsInitialized')
|
||||
|
@ -46,12 +46,6 @@ converse.plugins.add('converse-dragresize', {
|
||||
},
|
||||
|
||||
ControlBoxView: {
|
||||
renderLoginPanel () {
|
||||
const result = this.__super__.renderLoginPanel.apply(this, arguments);
|
||||
this.initDragResize().setDimensions();
|
||||
return result;
|
||||
},
|
||||
|
||||
renderControlBoxPane () {
|
||||
const result = this.__super__.renderControlBoxPane.apply(this, arguments);
|
||||
this.initDragResize().setDimensions();
|
||||
|
@ -282,7 +282,6 @@ class RegisterPanel extends ElementView {
|
||||
);
|
||||
this.giveFeedback(__('Now logging you in'), 'info');
|
||||
} else {
|
||||
_converse.chatboxviews.get('controlbox').renderLoginPanel();
|
||||
_converse.giveFeedback(__('Registered successfully'));
|
||||
}
|
||||
this.reset();
|
||||
|
Loading…
Reference in New Issue
Block a user