mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
Add getWidget() method to default action object implementation for easier, direct access to the associated widget
This commit is contained in:
parent
43a1429804
commit
b4d597fbb5
@ -772,6 +772,10 @@ function et2_action_object_impl(widget, node)
|
||||
var aoi = new egwActionObjectInterface();
|
||||
var objectNode = node;
|
||||
|
||||
aoi.getWidget = function() {
|
||||
return widget;
|
||||
};
|
||||
|
||||
aoi.doGetDOMNode = function() {
|
||||
return objectNode?objectNode:widget.getDOMNode();
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user