fix error report submission

This commit is contained in:
Simon Kornblith 2010-11-07 03:38:29 +00:00
parent b5dd5b5e9f
commit f0ff19fd05

View file

@ -1000,7 +1000,7 @@ Zotero.Translate.Web.prototype.complete = function(returnValue, error) {
var postBody = "id=" + encodeURIComponent(this.translator[0].translatorID) + var postBody = "id=" + encodeURIComponent(this.translator[0].translatorID) +
"&lastUpdated=" + encodeURIComponent(this.translator[0].lastUpdated) + "&lastUpdated=" + encodeURIComponent(this.translator[0].lastUpdated) +
"&diagnostic=" + encodeURIComponent(Zotero.getSystemInfo()) + "&diagnostic=" + encodeURIComponent(Zotero.getSystemInfo()) +
"&errorData=" + encodeURIComponent(errorData); "&errorData=" + encodeURIComponent(errorString);
Zotero.HTTP.doPost("http://www.zotero.org/repo/report", postBody); Zotero.HTTP.doPost("http://www.zotero.org/repo/report", postBody);
} }
} }