Remove extra function wrapper

This commit is contained in:
Dan Stillman 2013-05-01 16:17:32 -04:00
parent 75293a475d
commit 1e47d12436

View File

@ -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();
});
}