Skip to content
This repository was archived by the owner on Sep 10, 2021. It is now read-only.

Commit 1f739fd

Browse files
author
Michael Grauer
committed
BUG: Refs #212. Reversion of changes to common.ajaxapi.js.
I spoke with Zach about this, he said the code should remain as it was.
1 parent 7b35422 commit 1f739fd

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

modules/api/public/js/common/common.ajaxapi.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -64,13 +64,9 @@ ajaxWebApi._webApiCall = function(params)
6464
params.success(retVal);
6565
}
6666
},
67-
error: function(retVal) {
67+
error: function() {
6868
ajaxWebApi.logError('Ajax call to web API returned an error (' +
6969
json.global.webroot + '/api/json' + '?' + params.method + '&' + params.args + ')', params.log);
70-
if(params.error)
71-
{
72-
params.error(retVal);
73-
}
7470
if(params.complete)
7571
{
7672
params.complete();

0 commit comments

Comments
 (0)