Skip to content
This repository has been archived by the owner on Jun 24, 2018. It is now read-only.

firefox truncates long xmlrpc response - suggested fix #1

Open
goivvy opened this issue Jan 13, 2012 · 0 comments
Open

firefox truncates long xmlrpc response - suggested fix #1

goivvy opened this issue Jan 13, 2012 · 0 comments

Comments

@goivvy
Copy link

goivvy commented Jan 13, 2012

What steps will reproduce the problem?

  1. firefox
  2. long xmlrpc response

in _parseXMLRPC you return only first child value:

case 'string':
849 if(!typeEL.firstChild)
850 return "";
854 return typeEL.firstChild.nodeValue;

in firefox it truncates the long xmlrpc response. i fixed the issue by changing:

848 case 'string':
849 if(!typeEL.firstChild)
850 return "";
851 var rt = '';
852 for(var child, k=0; child = typeEL.childNodes.item(k); k++)
853 rt += child.nodeValue;
854 return rt;

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant