mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-25 12:21:26 +02:00
javascript error on non existing nodeToUse
This commit is contained in:
parent
8cbecc5969
commit
a14605b18e
@ -312,8 +312,8 @@ export class EgwPopupActionImplementation implements EgwActionImplementation {
|
|||||||
const _implContext = {
|
const _implContext = {
|
||||||
event: e, posx: _xy.posx,
|
event: e, posx: _xy.posx,
|
||||||
posy: _xy.posy,
|
posy: _xy.posy,
|
||||||
innerText: nodeToUse.title || _node.innerText,//nodeToUse only exists on widgets that define findActionTarget
|
innerText: nodeToUse?.title || _node.innerText,//nodeToUse only exists on widgets that define findActionTarget
|
||||||
target: nodeToUse.target || _node,
|
target: nodeToUse?.target || _node,
|
||||||
};
|
};
|
||||||
_callback.call(contextToUse || _context, _implContext, this);
|
_callback.call(contextToUse || _context, _implContext, this);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user