commit 1e47d12436641194a1c3b14508f1d64e18943b7a
parent 75293a475db8d61dddc48b69afe0cf069a7e325d
Author: Dan Stillman <dstillman@zotero.org>
Date: Wed, 1 May 2013 16:17:32 -0400
Remove extra function wrapper
Diffstat:
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/chrome/content/zotero/errorReport.xul b/chrome/content/zotero/errorReport.xul
@@ -56,9 +56,7 @@
var url = 'https://repo.zotero.org/repo/report';
Zotero.HTTP.promise('POST', url,
{ body: body, successCodes: false, foreground: true })
- .then(function (xmlhttp) {
- _sendErrorReportCallback(xmlhttp);
- })
+ .then(_sendErrorReportCallback)
.done();
});
}