Hi devs,
in the egwAction() constructor (egw_action.js) the _onExecute param is
not handled at the moment. This param gets ignored.
For example:
action = egwActionObject.addAction(“popup”, “open”, “Open”, “”,
“javaScript:myfunc”);
creates an egwActionObject.onExecute.fnct = null;
An extra code line in the caller
action.set_onExecute(“javaScript:myfunc”);
solves this problem.
Maybe we add
if(_onExecute !== null)
{
this.set_onExecute(_onExecute);
}
to the very end of the egwAction() constructor to do this automatically.
Greetings
Christian
Live Security Virtual Conference
Exclusive live event will cover all the ways today’s security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
eGroupWare-developers mailing list
eGroupWare-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-developers