From 1e47d12436641194a1c3b14508f1d64e18943b7a Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Wed, 1 May 2013 16:17:32 -0400 Subject: [PATCH] Remove extra function wrapper --- chrome/content/zotero/errorReport.xul | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/chrome/content/zotero/errorReport.xul b/chrome/content/zotero/errorReport.xul index 67f31b774..eff8c9196 100644 --- 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(); }); }