Welcome Guest, Not a member yet? Register   Sign In
TinyAjax callback function
#2

[eluser]Unknown[/eluser]
Hey there, I just ran across this problem myself... went through the code and tracked down the problemo to this:

replace the $html = "......"; statement that starts on line 309 in /include/TinyAjax.php with this code snippet:

$html = " if({$func_name[0]}.arguments.length > 0) {
var y = {$func_name[0]}.arguments.length;
var arr = new Array(y+1);
for(var x = 0; x < y; x++) {
arr[x] = {$func_name[0]}.arguments[x];
}
arr[y] = {$func_name[2]};
return aj_call(\"{$func_name[0]}\", arr, true );\n\t\t\t}\n\n";

Enjoy!


Messages In This Thread
TinyAjax callback function - by El Forum - 08-22-2007, 10:47 AM
TinyAjax callback function - by El Forum - 08-30-2007, 06:02 PM



Theme © iAndrew 2016 - Forum software by © MyBB