use egw.applyFunc instead of own/old code, to allow calling api methods eg. egw.start_timer too

Setting now NO context for applyFunc so app objects are used/created in global context/window.
This reverts commit 330461c28b.
This commit is contained in:
ralf 2022-10-09 13:34:37 +02:00
parent 99e0b178ee
commit a0471e1ad1

View File

@ -371,7 +371,7 @@ egwFnct.prototype.setValue = function(_value)
{
this.fnct = function()
{
return egw.applyFunc(_value.substring(11), arguments, this);
return egw.applyFunc(_value.substring(11), arguments);
}
}
else if (this.acceptedTypes.indexOf(typeof _value) >= 0)