mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:20 +01:00
javascript error on non existing nodeToUse
This commit is contained in:
parent
519e40a81f
commit
357551c7a2
@ -312,8 +312,8 @@ export class EgwPopupActionImplementation implements EgwActionImplementation {
|
||||
const _implContext = {
|
||||
event: e, posx: _xy.posx,
|
||||
posy: _xy.posy,
|
||||
innerText: nodeToUse.title || _node.innerText,//nodeToUse only exists on widgets that define findActionTarget
|
||||
target: nodeToUse.target || _node,
|
||||
innerText: nodeToUse?.title || _node.innerText,//nodeToUse only exists on widgets that define findActionTarget
|
||||
target: nodeToUse?.target || _node,
|
||||
};
|
||||
_callback.call(contextToUse || _context, _implContext, this);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user