mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
Fully clear existing ActionObject before re-using it. Fixes context menu missing after close & re-open home tab.
This commit is contained in:
parent
bd891b0ae1
commit
459b15ac93
@ -527,9 +527,14 @@ var et2_DOMWidget = et2_widget.extend(et2_IDOMNode,
|
||||
objectManager.manager.getActionById(this.id) || objectManager.manager
|
||||
));
|
||||
}
|
||||
else
|
||||
{
|
||||
widget_object.setAOI(new et2_action_object_impl(this, this.getDOMNode()));
|
||||
}
|
||||
|
||||
// Delete all old objects
|
||||
widget_object.clear();
|
||||
widget_object.unregisterActions();
|
||||
|
||||
// Go over the widget & add links - this is where we decide which actions are
|
||||
// 'allowed' for this widget at this time
|
||||
|
Loading…
Reference in New Issue
Block a user