Can't find callbackFunction
-
16-10-2019 - |
문제
I've been looking all over the place and I can't find what this is:
updateCallback : function(elm, status) {
if (typeof elm.callbackFunction != 'undefined') {
eval(elm.callbackFunction+'(\''+elm.id+'\',\''+status+'\')');
}
}
What is callbackFunction? How come I can't find it defined anywhere?
해결책
It's a function that is passed into this script from another place in the script. This function is executed here with the ID and status given as arguments. The function it self will be anonymous or have a different name most likely
제휴하지 않습니다 magento.stackexchange