mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 08:34:42 +01:00
fix type error if widget does not have div or body
This commit is contained in:
parent
160f0e9aa7
commit
26673f87fb
@ -839,7 +839,7 @@ export class Et2Tree extends Et2WidgetWithSelectMixin(LitElement) implements Fin
|
||||
return;
|
||||
}
|
||||
let id = option.value ?? (typeof option.id == 'number' ? String(option.id) : option.id);
|
||||
console.log(event.type, id);
|
||||
//console.log(event.type, id);
|
||||
|
||||
const typeMap = {
|
||||
dragenter: EGW_AI_DRAG_ENTER,
|
||||
|
@ -177,13 +177,13 @@ export class et2_calendar_event extends et2_valueWidget implements et2_IDetached
|
||||
this._actionObject = null;
|
||||
}
|
||||
|
||||
this.div.off();
|
||||
this.title.remove();
|
||||
this.div?.off();
|
||||
this.title?.remove();
|
||||
this.title = null;
|
||||
this.body.remove();
|
||||
this.body?.remove();
|
||||
this.body = null;
|
||||
this.icons = null;
|
||||
this.div.remove();
|
||||
this.div?.remove();
|
||||
this.div = null;
|
||||
|
||||
jQuery('body.egw_tooltip').remove();
|
||||
|
Loading…
Reference in New Issue
Block a user