Possible fix for "script stack space quota is exhausted" download sync error (trunk)
This commit is contained in:
parent
d43dbefc4e
commit
8479aef5f9
1 changed files with 1 additions and 1 deletions
|
@ -1350,7 +1350,7 @@ Zotero.Sync.Server = new function () {
|
|||
_error(response.firstChild.firstChild.nodeValue);
|
||||
}
|
||||
|
||||
var xml = Zotero.Utilities.trim(xmlhttp.responseText.replace(/<\?xml.*\?>\s*/, ''));
|
||||
var xml = xmlhttp.responseText.replace(/^\s*<\?xml.*\?>\s*/, '').trim();
|
||||
|
||||
// Strip XML declaration and convert to E4X
|
||||
xml = new XML(xml);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue