Use native JavaScript array when converting a XML-RPC Array.
This commit is contained in:
parent
358d59fc40
commit
3443179755
1 changed files with 1 additions and 1 deletions
|
@ -388,7 +388,7 @@ public final class RhinoCore {
|
|||
for (int i=0; i<a.length; i++) {
|
||||
a[i] = processXmlRpcArgument(a[i]);
|
||||
}
|
||||
return Context.toObject(a, global);
|
||||
return Context.getCurrentContext().newArray(global, a);
|
||||
}
|
||||
if (what instanceof Hashtable) {
|
||||
Hashtable t = (Hashtable) what;
|
||||
|
|
Loading…
Add table
Reference in a new issue