mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-03-05 18:52:51 +01:00
Et2Date: Don't destroy flatpickr instance when disconnected
Calendar SidemenuDate gets moved by framework, causing disconnectCallback() to be called resulting in missing flatpickr instance
This commit is contained in:
parent
201451ba98
commit
4cfc855ac1
@ -414,7 +414,6 @@ export class Et2Date extends Et2InputWidget(LitFlatpickr)
|
|||||||
this._inputNode?.removeEventListener('change', this._onChange);
|
this._inputNode?.removeEventListener('change', this._onChange);
|
||||||
this.findInputField()?.removeEventListener("input", this._handleInputChange);
|
this.findInputField()?.removeEventListener("input", this._handleInputChange);
|
||||||
|
|
||||||
this._instance && this._instance.destroy();
|
|
||||||
this._boundTooltipElements.forEach(tooltipped =>
|
this._boundTooltipElements.forEach(tooltipped =>
|
||||||
{
|
{
|
||||||
this.egw().tooltipUnbind(tooltipped)
|
this.egw().tooltipUnbind(tooltipped)
|
||||||
|
Loading…
Reference in New Issue
Block a user